[2051] We need that else

This commit is contained in:
David Sangrey committed 2023-11-17 18:35:32 -05:00
1 parent c47552d678
commit 960b00efbc
1 file changed
+2 -1
+2 -1
View File
@@ -259,7 +259,8 @@ def main(): # noqa: C901, CCR001
for idx, cmdr in enumerate(cmdrs):
if cmdr.lower() == args.p.lower():
break
raise companion.CredentialsError()
else:
raise companion.CredentialsError()
companion.session.login(cmdrs[idx], monitor.is_beta)
else: