Private GIT

Skip to content
Snippets Groups Projects
Commit fe8a85fa authored by Fernando's avatar Fernando
Browse files

Fix cache log message

parent 4a69012f
No related branches found
No related tags found
No related merge requests found
...@@ -231,8 +231,7 @@ class TVCache(): ...@@ -231,8 +231,7 @@ class TVCache():
def shouldUpdate(self): def shouldUpdate(self):
# if we've updated recently then skip the update # if we've updated recently then skip the update
if datetime.datetime.today() - self.lastUpdate < datetime.timedelta(minutes=self.minTime): if datetime.datetime.today() - self.lastUpdate < datetime.timedelta(minutes=self.minTime):
logger.log(u"Last update was too soon, using old cache: today()-" + str(self.lastUpdate) + "<" + str( logger.log(u"Last update was too soon, using old cache: " + str(self.lastUpdate) + ". Updated less then " + str(self.minTime) + " minutes ago", logger.DEBUG)
datetime.timedelta(minutes=self.minTime)), logger.DEBUG)
return False return False
return True return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment