Skip to content

Commit

Permalink
fix to is_guid method, which was failing when it received an object
Browse files Browse the repository at this point in the history
  • Loading branch information
DinisCruz committed Jul 3, 2024
1 parent 79e8c66 commit 0091651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osbot_utils/utils/Misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def is_guid(value):
try:
uuid_obj = uuid.UUID(value)
return str(uuid_obj) == value.lower()
except ValueError:
except Exception:
return False


Expand Down

0 comments on commit 0091651

Please sign in to comment.