mirror of
https://github.com/Andre-Bzk/Rezept0r.git
synced 2026-11-15 15:43:04 +01:00
fix: speicherort history.db und images Ordner
- Bilder: data/images - SQLite: data/history.db
This commit is contained in:
@@ -11,7 +11,7 @@ from app.config import get_settings
|
||||
|
||||
def _db_path() -> Path:
|
||||
settings = get_settings()
|
||||
return Path(settings.images_dir).parent / "history.db"
|
||||
return Path(settings.history_db_path)
|
||||
|
||||
|
||||
def init_db() -> None:
|
||||
|
||||
Reference in New Issue
Block a user