From 1f647b3cc79143898e23a3b83db22eb7a42d3711 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 21 Mar 2014 18:46:01 +0100 Subject: [PATCH] Autoload missing for notifications. fix #2980 --- couchpotato/core/notifications/boxcar.py | 2 ++ couchpotato/core/notifications/email_.py | 2 ++ couchpotato/core/notifications/growl.py | 2 ++ couchpotato/core/notifications/nmj.py | 2 ++ couchpotato/core/notifications/notifymyandroid.py | 2 ++ couchpotato/core/notifications/notifymywp.py | 2 ++ couchpotato/core/notifications/prowl.py | 2 ++ couchpotato/core/notifications/pushalot.py | 2 ++ couchpotato/core/notifications/pushbullet.py | 2 ++ 9 files changed, 18 insertions(+) diff --git a/couchpotato/core/notifications/boxcar.py b/couchpotato/core/notifications/boxcar.py index 3777a42d..a7acc882 100644 --- a/couchpotato/core/notifications/boxcar.py +++ b/couchpotato/core/notifications/boxcar.py @@ -7,6 +7,8 @@ from couchpotato.core.notifications.base import Notification log = CPLog(__name__) +autoload = 'Boxcar' + class Boxcar(Notification): diff --git a/couchpotato/core/notifications/email_.py b/couchpotato/core/notifications/email_.py index b42650b9..938a3614 100644 --- a/couchpotato/core/notifications/email_.py +++ b/couchpotato/core/notifications/email_.py @@ -12,6 +12,8 @@ from couchpotato.environment import Env log = CPLog(__name__) +autoload = 'Email' + class Email(Notification): diff --git a/couchpotato/core/notifications/growl.py b/couchpotato/core/notifications/growl.py index c7847da2..160e383e 100644 --- a/couchpotato/core/notifications/growl.py +++ b/couchpotato/core/notifications/growl.py @@ -9,6 +9,8 @@ from gntp import notifier log = CPLog(__name__) +autoload = 'Growl' + class Growl(Notification): diff --git a/couchpotato/core/notifications/nmj.py b/couchpotato/core/notifications/nmj.py index 6ef70d43..4b9b92bd 100644 --- a/couchpotato/core/notifications/nmj.py +++ b/couchpotato/core/notifications/nmj.py @@ -15,6 +15,8 @@ except ImportError: log = CPLog(__name__) +autoload = 'NMJ' + class NMJ(Notification): diff --git a/couchpotato/core/notifications/notifymyandroid.py b/couchpotato/core/notifications/notifymyandroid.py index 8b083601..ed7a24c8 100644 --- a/couchpotato/core/notifications/notifymyandroid.py +++ b/couchpotato/core/notifications/notifymyandroid.py @@ -6,6 +6,8 @@ import six log = CPLog(__name__) +autoload = 'NotifyMyAndroid' + class NotifyMyAndroid(Notification): diff --git a/couchpotato/core/notifications/notifymywp.py b/couchpotato/core/notifications/notifymywp.py index 914897f7..262fd8d1 100644 --- a/couchpotato/core/notifications/notifymywp.py +++ b/couchpotato/core/notifications/notifymywp.py @@ -6,6 +6,8 @@ import six log = CPLog(__name__) +autoload = 'NotifyMyWP' + class NotifyMyWP(Notification): diff --git a/couchpotato/core/notifications/prowl.py b/couchpotato/core/notifications/prowl.py index b276d7f4..fdece326 100644 --- a/couchpotato/core/notifications/prowl.py +++ b/couchpotato/core/notifications/prowl.py @@ -7,6 +7,8 @@ from couchpotato.core.notifications.base import Notification log = CPLog(__name__) +autoload = 'Prowl' + class Prowl(Notification): diff --git a/couchpotato/core/notifications/pushalot.py b/couchpotato/core/notifications/pushalot.py index 0ce9027f..f8fa187e 100644 --- a/couchpotato/core/notifications/pushalot.py +++ b/couchpotato/core/notifications/pushalot.py @@ -7,6 +7,8 @@ from couchpotato.core.notifications.base import Notification log = CPLog(__name__) +autoload = 'Pushalot' + class Pushalot(Notification): diff --git a/couchpotato/core/notifications/pushbullet.py b/couchpotato/core/notifications/pushbullet.py index fd1a376b..56cf2288 100644 --- a/couchpotato/core/notifications/pushbullet.py +++ b/couchpotato/core/notifications/pushbullet.py @@ -9,6 +9,8 @@ from couchpotato.core.notifications.base import Notification log = CPLog(__name__) +autoload = 'Pushbullet' + class Pushbullet(Notification):