Fix incorrect import path for settings module

This commit is contained in:
Lukas 2025-12-02 17:54:06 +01:00
parent 7c56c8bef2
commit 942f14f746
3 changed files with 24 additions and 3 deletions

View File

@ -17,7 +17,7 @@
"keep_days": 30
},
"other": {
"master_password_hash": "$pbkdf2-sha256$29000$R0hpDWEspRSidA4BoPTemw$NL4pP6ch.3sRxe6gjQ1tM3VPntwZMoZUFAI9sTQuHPE"
"master_password_hash": "$pbkdf2-sha256$29000$lvLeO.c8xzjHOAeAcM45Zw$NwtHXYLnbZE5oQwAJtlvcxLTZav3LjQhkYOhHiPXwWc"
},
"version": "1.0.0"
}

View File

@ -0,0 +1,23 @@
{
"name": "Aniworld",
"data_dir": "data",
"scheduler": {
"enabled": true,
"interval_minutes": 60
},
"logging": {
"level": "INFO",
"file": null,
"max_bytes": null,
"backup_count": 3
},
"backup": {
"enabled": false,
"path": "data/backups",
"keep_days": 30
},
"other": {
"master_password_hash": "$pbkdf2-sha256$29000$1fo/x1gLYax1bs15L.X8/w$T2GKqjDG7LT9tTZIwX/P2T/uKKuM9IhOD9jmhFUw4A0"
},
"version": "1.0.0"
}

View File

@ -115,8 +115,6 @@ async def lifespan(app: FastAPI):
# Initialize download service and restore queue from database
# Only if anime directory is configured
try:
from src.server.config.settings import settings
from src.server.utils.dependencies import get_download_service
if settings.anime_directory: