Skip to content

Commit

Permalink
using of non-bare except
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandemeusy committed May 27, 2024
1 parent 1065707 commit 082a9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ct-app/core/model/peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def version(self, value: str or Version):
if not isinstance(value, Version):
try:
value = Version(value)
except:
except Exception:
value = Version("0.0.0")

self._version = value
Expand Down

0 comments on commit 082a9c6

Please sign in to comment.