From 41dbbbaa9bdf08fe42c45a2772a0ab1628f97be1 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 15 Sep 2014 06:29:16 -0700 Subject: [PATCH] Fix backlog nextrun to return datetime instead of just date --- sickbeard/searchBacklog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/searchBacklog.py b/sickbeard/searchBacklog.py index b5f9ff86..7256d1cd 100644 --- a/sickbeard/searchBacklog.py +++ b/sickbeard/searchBacklog.py @@ -37,9 +37,9 @@ class BacklogSearchScheduler(scheduler.Scheduler): def nextRun(self): if self.action._lastBacklog <= 1: - return datetime.date.today() + return datetime.datetime.today() else: - return datetime.date.fromordinal(self.action._lastBacklog + self.action.cycleTime) + return datetime.datetime.fromordinal(self.action._lastBacklog + self.action.cycleTime) class BacklogSearcher: