diff --git a/Utils.py b/Utils.py index 6ed5df29..8ad710c1 100644 --- a/Utils.py +++ b/Utils.py @@ -231,6 +231,8 @@ def persistent_load() -> typing.Dict[dict]: except Exception as e: import logging logging.debug(f"Could not read store: {e}") + if storage is None: + storage = {} return storage