mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01: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