Fix incorrect import path for settings module
This commit is contained in:
parent
7c56c8bef2
commit
942f14f746
@ -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"
|
||||
}
|
||||
23
data/config_backups/config_backup_20251202_175313.json
Normal file
23
data/config_backups/config_backup_20251202_175313.json
Normal 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"
|
||||
}
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user