summaryrefslogtreecommitdiff
path: root/client/notifier.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-06 16:52:53 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-06 16:52:53 +0200
commit2b1e8411ab5eaa7e1349b78d03270ab02ae2950d (patch)
treeed914cbf8964bbe26ba28e80589f4c289b3fac3a /client/notifier.py
parent890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a (diff)
downloadjasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.tar.gz
jasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.zip
Fix flake8 style nits
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()