Browse Source

Cleanup

pull/69/head
Ruud 14 years ago
parent
commit
fd63731c0e
  1. 4
      couchpotato/core/notifications/base.py
  2. 1
      couchpotato/core/notifications/boxcar/main.py

4
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)

1
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()

Loading…
Cancel
Save