Set scores

This commit is contained in:
marc
2025-04-26 21:56:25 +02:00
parent d132e6fd60
commit e6b8b3e809
13 changed files with 174 additions and 61 deletions

View File

@@ -11,7 +11,17 @@ logger.info(f"Using DB_DIR: {DB_DIR}")
# Files db
DB_FILES_DIR = DB_DIR / "fitxer"
DB_FILES_DIR.mkdir(exist_ok=True)
DB_FILES_TEMA_DIR = DB_FILES_DIR / "tema"
DB_FILES_SET_DIR = DB_FILES_DIR / "set"
DB_FILES_TMP_DIR = DB_FILES_DIR / "tmp"
for path in [
DB_FILES_DIR,
DB_FILES_TEMA_DIR,
DB_FILES_SET_DIR,
DB_FILES_SET_DIR,
]:
path.mkdir(exist_ok=True)
DB_FILES_URL = "/db/fitxer"