From: Giorgio Ravera Date: Tue, 17 Mar 2026 12:27:35 +0000 (+0100) Subject: Fixed other spaces X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=1578b47016859507592b5f7a2487fb460bc992b1;p=network-manager.git Fixed other spaces --- diff --git a/backend/backup.py b/backend/backup.py index ade27c9..c7bab93 100644 --- a/backend/backup.py +++ b/backend/backup.py @@ -192,7 +192,7 @@ def restore_aliases() -> Dict[str, Any]: # Backup DB # --------------------------------------------------------- def backup() -> Dict[str, Any]: - + hosts_result = store_hosts() aliases_result = store_aliases() errors = (hosts_result.get("errors") or []) + (aliases_result.get("errors") or []) diff --git a/backend/routes/backup.py b/backend/routes/backup.py index 96e5821..8847089 100644 --- a/backend/routes/backup.py +++ b/backend/routes/backup.py @@ -40,7 +40,7 @@ async def api_backup(request: Request): # Backup DB result = backup() errors = result.get("errors") or [] - + took_ms = (time.monotonic_ns() - start_ns) / 1_000_000 if errors: @@ -95,7 +95,7 @@ async def api_restore(request: Request): # Restore hosts DB result = restore() errors = (result.get("errors") or []) - + took_ms = (time.monotonic_ns() - start_ns) / 1_000_000 if errors: