summaryrefslogtreecommitdiff
path: root/client/notifier.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/notifier.py')
-rw-r--r--client/notifier.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/notifier.py b/client/notifier.py
index 2ae66f8..b081a66 100644
--- a/client/notifier.py
+++ b/client/notifier.py
@@ -4,6 +4,7 @@ from modules import Gmail
from apscheduler.scheduler import Scheduler
import logging
+
class Notifier(object):
class NotificationClient(object):
@@ -22,9 +23,11 @@ class Notifier(object):
self.notifiers = []
if 'gmail_address' in profile and 'gmail_password' in profile:
- self.notifiers.append(self.NotificationClient(self.handleEmailNotifications, None))
+ self.notifiers.append(self.NotificationClient(
+ self.handleEmailNotifications, None))
else:
- self._logger.warning('gmail_address or gmail_password not set in profile, Gmail notifier will not be used')
+ self._logger.warning('gmail_address or gmail_password not set ' +
+ 'in profile, Gmail notifier will not be used')
sched = Scheduler()
sched.start()