From b6d079fe4842b4d65d2370cfcd7b6f1dd048c18f Mon Sep 17 00:00:00 2001 From: JackDandy Date: Sun, 16 Nov 2014 02:19:15 +0000 Subject: [PATCH] Fix the log output of the limited backlog search for episodes missed. The log text backwardly reported processing was for missed episodes older than x days. It's for episodes missed during the last x days. --- CHANGES.md | 1 + sickbeard/searchBacklog.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 1c466f56..0429db5f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,6 +12,7 @@ * Fix adding shows with titles that contain "&" on Add Trending Show page * Fix unset vars on Add New Shows Page used in the Add Existing Shows context * Remove unneeded datetime convert from Coming Episodes page +* Fix the log output of the limited backlog search for episodes missed ### 0.3.0 (2014-11-12 14:30:00 UTC) diff --git a/sickbeard/searchBacklog.py b/sickbeard/searchBacklog.py index 0159deb0..66eb489b 100644 --- a/sickbeard/searchBacklog.py +++ b/sickbeard/searchBacklog.py @@ -85,7 +85,7 @@ class BacklogSearcher: fromDate = datetime.date.fromordinal(1) 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") + logger.log(u'Running limited backlog for episodes missed during the last %s day(s)' % str(sickbeard.BACKLOG_DAYS)) fromDate = datetime.date.today() - datetime.timedelta(days=sickbeard.BACKLOG_DAYS) self.amActive = True