From 2b1e8411ab5eaa7e1349b78d03270ab02ae2950d Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 6 Oct 2014 16:52:53 +0200 Subject: Fix flake8 style nits --- client/notifier.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'client/notifier.py') 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() -- cgit v1.3.1