From 1578b47016859507592b5f7a2487fb460bc992b1 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Tue, 17 Mar 2026 13:27:35 +0100 Subject: [PATCH] Fixed other spaces --- backend/backup.py | 2 +- backend/routes/backup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: -- 2.47.3