diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:59:36 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:59:36 +0200 |
| commit | edca8b7407d7c9b1497ba1722d1b66ffa4b4c234 (patch) | |
| tree | d544987379415ac557751401ea0b0c7de81530b7 /client/notifier.py | |
| parent | 890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a (diff) | |
| parent | 804da384bff556d3caedf9ad01d57f2460aee151 (diff) | |
| download | jasper-client-edca8b7407d7c9b1497ba1722d1b66ffa4b4c234.tar.gz jasper-client-edca8b7407d7c9b1497ba1722d1b66ffa4b4c234.zip | |
Merge pull request #217 from Holzhaus/style-fixes
Style fixes
Diffstat (limited to 'client/notifier.py')
| -rw-r--r-- | client/notifier.py | 7 |
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() |
