Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adal-chiriliuc-reef committed Apr 23, 2024
1 parent e1aba6a commit ae5b503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion b2/_internal/console_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -4909,7 +4909,7 @@ def _initialize_b2_api(cls, args: argparse.Namespace, kwargs: dict) -> B2Api:
except MissingAccountData:
is_same_key_on_disk = False

if not is_same_key_on_disk and not isinstance(
if not is_same_key_on_disk and not issubclass(
args.command_class, (AccountAuthorizeBase, AccountClearBase)
):
# when user specifies keys via env variables, we switch to in-memory account info
Expand Down

0 comments on commit ae5b503

Please sign in to comment.