From 2c25a4771c894506a4f455f05780024c9a47195e Mon Sep 17 00:00:00 2001 From: Ruud Date: Thu, 8 Sep 2011 11:23:07 +0200 Subject: [PATCH] Don't do history test on load --- couchpotato/core/notifications/history/main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/couchpotato/core/notifications/history/main.py b/couchpotato/core/notifications/history/main.py index d770498b..aa55cf0d 100644 --- a/couchpotato/core/notifications/history/main.py +++ b/couchpotato/core/notifications/history/main.py @@ -1,9 +1,7 @@ from couchpotato import get_session -from couchpotato.core.event import addEvent from couchpotato.core.logger import CPLog from couchpotato.core.notifications.base import Notification from couchpotato.core.settings.model import History as Hist -from couchpotato.environment import Env import time log = CPLog(__name__) @@ -13,12 +11,6 @@ class History(Notification): listen_to = ['movie.downloaded', 'movie.snatched', 'renamer.canceled'] - def __init__(self): - super(Notification, self).__init__() - - if Env.doDebug(): - addEvent('app.load', self.test) - def notify(self, message = '', data = {}): db = get_session()