From 8b5559bdef73e31ce0e34f3c884e1ae69f54b5fa Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 19 Jul 2014 12:52:16 -0700 Subject: [PATCH] PEP8 Fix for backlog searches --- sickbeard/searchBacklog.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sickbeard/searchBacklog.py b/sickbeard/searchBacklog.py index 58d25efe..c0f665dd 100644 --- a/sickbeard/searchBacklog.py +++ b/sickbeard/searchBacklog.py @@ -68,15 +68,15 @@ class BacklogSearcher: def searchBacklog(self, which_shows=None): + if self.amActive: + logger.log(u"Backlog is still running, not starting it again", logger.DEBUG) + return + if which_shows: show_list = which_shows else: show_list = sickbeard.showList - if self.amActive: - logger.log(u"Backlog is still running, not starting it again", logger.DEBUG) - return - self._get_lastBacklog() curDate = datetime.date.today().toordinal()