From 3fe0a90a7a5c7b48b7e727e81a7b3ab80a41cacb Mon Sep 17 00:00:00 2001 From: arabcoders Date: Tue, 1 Apr 2025 23:13:10 +0300 Subject: [PATCH] Only load notification targets when load is called --- app/library/Notifications.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/library/Notifications.py b/app/library/Notifications.py index fe0b5a4d..20deb566 100644 --- a/app/library/Notifications.py +++ b/app/library/Notifications.py @@ -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: