From fd63731c0e79e6dc54984464c8ebd4ebb12a22ce Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 14 Jan 2012 23:27:42 +0100 Subject: [PATCH] Cleanup --- couchpotato/core/notifications/base.py | 4 ++-- couchpotato/core/notifications/boxcar/main.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/notifications/base.py b/couchpotato/core/notifications/base.py index 3909d34c..9dd3cfe3 100644 --- a/couchpotato/core/notifications/base.py +++ b/couchpotato/core/notifications/base.py @@ -1,5 +1,5 @@ from couchpotato.api import addApiView -from couchpotato.core.event import addEvent, fireEvent +from couchpotato.core.event import addEvent from couchpotato.core.helpers.request import jsonified from couchpotato.core.logger import CPLog from couchpotato.core.plugins.base import Plugin @@ -28,7 +28,7 @@ class Notification(Plugin): def notify(message, data): if not self.conf('on_snatch', default = 1) and listener == 'movie.snatched': return - return self.notify(message, data) + return self.notify(message = message, data = data) addEvent(listener, notify) diff --git a/couchpotato/core/notifications/boxcar/main.py b/couchpotato/core/notifications/boxcar/main.py index b4a7ef76..12f9a8af 100644 --- a/couchpotato/core/notifications/boxcar/main.py +++ b/couchpotato/core/notifications/boxcar/main.py @@ -12,7 +12,6 @@ class Boxcar(Notification): def notify(self, message = '', data = {}): if self.isDisabled(): return - print 'test' try: message = message.strip()