Skip to content

Commit

Permalink
fix: fix AttributeError to non-string uid
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfelipec95 committed Jan 30, 2024
1 parent 12a9919 commit 9c6174f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eox_hooks/receivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def hooks_handler(sender, signal, **kwargs):

trigger_event = None
for uid in _get_dispatch_uid(signal.receivers):
if uid.startswith('eox-hooks:'):
if str(uid).startswith('eox-hooks:'):
trigger_event = uid.split(':')[1]
break

Expand Down

0 comments on commit 9c6174f

Please sign in to comment.