mirror of
https://github.com/usestrix/strix.git
synced 2026-10-05 02:41:38 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
1676fa57f2
commit
f17e1103fa
1 changed files with 0 additions and 6 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue