mirror of
https://github.com/usestrix/strix.git
synced 2026-10-05 02:41:38 +00:00
Update strix/interface/main.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
422d5a2403
commit
1676fa57f2
1 changed files with 6 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue