1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

[2051] We need that else

This commit is contained in:
David Sangrey 2023-11-17 18:35:32 -05:00
parent c47552d678
commit 960b00efbc
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

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: