Update strix/interface/main.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Joel Saß 2026-06-12 09:33:55 +02:00 • committed by GitHub
parent 422d5a2403
commit 1676fa57f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -333,6 +333,12 @@ 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(