mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: convert str var to f-string
This commit is contained in:
@@ -2,5 +2,5 @@ from peewee import *
|
||||
from config import DATA_DIR
|
||||
|
||||
|
||||
DB = SqliteDatabase(str(DATA_DIR / "ollama.db"))
|
||||
DB = SqliteDatabase(f"{DATA_DIR}/ollama.db")
|
||||
DB.connect()
|
||||
|
||||
Reference in New Issue
Block a user