From a3d812ece6f7fb37afe70053b8a4dd720bcd3299 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 25 May 2012 22:10:52 +0200 Subject: [PATCH] Cleanup --- couchpotato/core/notifications/growl/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/notifications/growl/main.py b/couchpotato/core/notifications/growl/main.py index b98888e3..72ba2a56 100644 --- a/couchpotato/core/notifications/growl/main.py +++ b/couchpotato/core/notifications/growl/main.py @@ -1,9 +1,8 @@ -from couchpotato.core.event import fireEvent +from couchpotato.core.event import fireEvent, addEvent from couchpotato.core.logger import CPLog from couchpotato.core.notifications.base import Notification from couchpotato.environment import Env from gntp import notifier -import logging import traceback log = CPLog(__name__) @@ -17,7 +16,7 @@ class Growl(Notification): super(Growl, self).__init__() if self.isEnabled(): - self.register() + addEvent('app.load', self.register) def register(self): if self.registered: return