Skip to content

Commit

Permalink
fix(events): re-support v3 LOAD_FAILED endreason
Browse files Browse the repository at this point in the history
  • Loading branch information
ooliver1 committed Dec 18, 2023
1 parent fb529bf commit 1c54ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mafic/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(
reason = payload["reason"]
if reason.isupper():
reason = reason.lower()
if reason == "loadfailed":
if reason == "load_failed":
# Only case this happens, not worth a regex sub.
reason = "loadFailed"
self.reason: EndReason = EndReason(reason)
Expand Down

0 comments on commit 1c54ceb

Please sign in to comment.