forked from open-webui/open-webui
refac: convert str var to f-string
This commit is contained in:
parent
5b26d2a686
commit
d2c5f3d591
4 changed files with 14 additions and 9 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue