Only load notification targets when load is called

This commit is contained in:
arabcoders 2025-04-01 23:13:10 +03:00
parent f7101f6a38
commit 3fe0a90a7a

View file

@ -141,9 +141,6 @@ class Notification(metaclass=Singleton):
except Exception:
pass
if os.path.getsize(self._file) > 10:
self.load()
@staticmethod
def get_instance() -> "Notification":
if Notification._instance is None: