From 47cd8b53f0d83ae72c0b4996c9a1eb76d5243d64 Mon Sep 17 00:00:00 2001 From: KontiSR Date: Fri, 19 Sep 2014 10:49:37 +0200 Subject: [PATCH] Fixed typo in searchBacklog. Introduced with search from delta functionality. --- sickbeard/searchBacklog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/searchBacklog.py b/sickbeard/searchBacklog.py index 031472ed..ee171e8a 100644 --- a/sickbeard/searchBacklog.py +++ b/sickbeard/searchBacklog.py @@ -86,7 +86,7 @@ class BacklogSearcher: if not which_shows and not curDate - self._lastBacklog >= self.cycleTime: logger.log(u"Running limited backlog on missed episodes " + str(sickbeard.BACKLOG_DAYS) + " day(s) and older only") - fromDate = datetime.date.today() - datetime.timedelta(days=sickbeard) + fromDate = datetime.date.today() - datetime.timedelta(days=sickbeard.BACKLOG_DAYS) self.amActive = True self.amPaused = False