Don't do history test on load

This commit is contained in:
Ruud committed 2011-09-08 11:23:07 +02:00
1 parent e544b04347
commit 2c25a4771c
1 file changed
-8
@@ -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()