Skip to content

Commit

Permalink
Change except to except Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jj-so authored and daringer committed Dec 1, 2023
1 parent ec4fbd4 commit 61f60fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nitrokeyapp/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def detect_removed_devices(self) -> None:
if self.devices:
try:
raw_list = Nitrokey3Device.list()
except:
except Exception:
time.sleep(0.5)
raw_list = Nitrokey3Device.list()

Expand Down

0 comments on commit 61f60fe

Please sign in to comment.