diff --git a/HSMensaW_botA.py b/HSMensaW_botA.py index 9ba30c8..d0fef0a 100644 --- a/HSMensaW_botA.py +++ b/HSMensaW_botA.py @@ -380,7 +380,7 @@ def process_json(d): if isinstance(d, dict): try: return {int(k): getattr(Language, v) for k, v in d.items()} - except (ValueError, TypeError): + except (ValueError, TypeError, AttributeError): return d return d