fix: set default values for exports_path and backups_path in configuration
This commit is contained in:
@@ -194,8 +194,8 @@ class Config:
|
|||||||
canary_token_tries=canary.get("token_tries", 10),
|
canary_token_tries=canary.get("token_tries", 10),
|
||||||
dashboard_secret_path=dashboard_path,
|
dashboard_secret_path=dashboard_path,
|
||||||
probability_error_codes=behavior.get("probability_error_codes", 0),
|
probability_error_codes=behavior.get("probability_error_codes", 0),
|
||||||
exports_path=exports.get("path"),
|
exports_path=exports.get("path", "exports"),
|
||||||
backups_path=backups.get("path"),
|
backups_path=backups.get("path", "backups"),
|
||||||
backups_enabled=backups.get("enabled", False),
|
backups_enabled=backups.get("enabled", False),
|
||||||
backups_cron=backups.get("cron"),
|
backups_cron=backups.get("cron"),
|
||||||
database_path=database.get("path", "data/krawl.db"),
|
database_path=database.get("path", "data/krawl.db"),
|
||||||
|
|||||||
Reference in New Issue
Block a user