From 1c54ceb7248e5c8f653c1317a215cdc6a1e3a358 Mon Sep 17 00:00:00 2001 From: Oliver Wilkes Date: Mon, 18 Dec 2023 21:19:29 +0000 Subject: [PATCH] fix(events): re-support v3 LOAD_FAILED endreason --- mafic/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mafic/events.py b/mafic/events.py index 1b220b3..07f1bfd 100644 --- a/mafic/events.py +++ b/mafic/events.py @@ -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)