From f17e1103fabad0395ee6e58ffeeecc44566b7a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20Sa=C3=9F?= Date: Fri, 12 Jun 2026 09:50:25 +0200 Subject: [PATCH] fix: remove orphaned duplicate loop causing SyntaxError in main.py The pulled commit introduced an incomplete duplicate of the credentials file parsing loop (missing closing paren), preventing the module from compiling. Remove the orphaned fragment, keeping the complete block. Co-Authored-By: Claude Sonnet 4.6 --- strix/interface/main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/strix/interface/main.py b/strix/interface/main.py index ebfe98f7..1334a453 100644 --- a/strix/interface/main.py +++ b/strix/interface/main.py @@ -333,12 +333,6 @@ def _parse_credentials( ) return result # unreachable str_values: dict[str, str] = {} - for k, v in loaded.items(): - if not isinstance(v, str): - parser.error( - f"Credentials file values must be strings, " - f"got {type(v).__name__} for key '{k}': '{credentials_file}'" - str_values: dict[str, str] = {} for k, v in loaded.items(): if not isinstance(v, str): parser.error(