From 48f452ea2b942557329e110fe44672dd74f1f4cc Mon Sep 17 00:00:00 2001 From: dv Date: Wed, 8 Apr 2026 00:06:54 +0300 Subject: [PATCH] fix ssh 3 --- backend/app/services/device_discovery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/services/device_discovery.py b/backend/app/services/device_discovery.py index 12ae5cc..e06aa38 100644 --- a/backend/app/services/device_discovery.py +++ b/backend/app/services/device_discovery.py @@ -95,7 +95,7 @@ class DiscoveredDevice: def _parse_config(config_text: str, rack_host: str) -> list[DiscoveredDevice]: """Extract discovered network devices from a caps config file.""" - parser = RawConfigParser() + parser = RawConfigParser(strict=False) parser.read_string(config_text) discovered: list[DiscoveredDevice] = [] @@ -191,7 +191,7 @@ async def _autodetect_db_from_server( except Exception: return None - parser = RawConfigParser() + parser = RawConfigParser(strict=False) parser.read_string(config_text) db_uri = parser.get("server", "db_uri", fallback=None)