mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-06 04:42:35 +00:00
Add backup interval setting and throttled backups
This commit is contained in:
1 parent
51acd21478
commit
ba53cf2332
6 files changed
+72
-1
No files matched your search
@@ -461,6 +461,7 @@ def config_set(ctx: typer.Context, key: str, value: str) -> None:
|
||||
"relays": lambda v: cfg.set_relays(
|
||||
[r.strip() for r in v.split(",") if r.strip()], require_pin=False
|
||||
),
|
||||
"backup_interval": lambda v: cfg.set_backup_interval(float(v)),
|
||||
}
|
||||
|
||||
action = mapping.get(key)
|
||||
|
||||
Reference in new issue
Block a user