refac: convert str var to f-string

This commit is contained in:
Timothy J. Baek 2024-01-22 01:47:07 -08:00
parent 5b26d2a686
commit d2c5f3d591
4 changed files with 14 additions and 9 deletions

View file

@ -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()