Skip to content

Commit

Permalink
Merge pull request Nitrokey#187 from Nitrokey/local-critical-list
Browse files Browse the repository at this point in the history
Use list instead of ls in local_critical
  • Loading branch information
robin-nitrokey authored Feb 8, 2022
2 parents dad5292 + f222c1d commit 3b0d9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynitrokey/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def local_critical(*messages, support_hint=True, ret_code=1, **kwargs):
local_print("listing all connected devices:")
from pynitrokey.cli import nitropy

nitropy.commands["ls"].callback()
nitropy.commands["list"].callback()
STDOUT_PRINT = True

local_print(
Expand Down

0 comments on commit 3b0d9e6

Please sign in to comment.