fix: set default values for exports_path and backups_path in configuration

This commit is contained in:
Lorenzo Venerandi
2026-02-23 20:42:55 +01:00
parent d1395c5017
commit a0b8a65ba6

View File

@@ -194,8 +194,8 @@ class Config:
canary_token_tries=canary.get("token_tries", 10),
dashboard_secret_path=dashboard_path,
probability_error_codes=behavior.get("probability_error_codes", 0),
exports_path=exports.get("path"),
backups_path=backups.get("path"),
exports_path=exports.get("path", "exports"),
backups_path=backups.get("path", "backups"),
backups_enabled=backups.get("enabled", False),
backups_cron=backups.get("cron"),
database_path=database.get("path", "data/krawl.db"),