Commit 0915d46f authored by echel0n's avatar echel0n

Fixed issue #SICKRAGE-APP-6PG - '>' not supported between instances of...

Fixed issue #SICKRAGE-APP-6PG - '>' not supported between instances of 'datetime.timedelta' and 'int' when running subtitle searcher task
parent a25c7df1
......@@ -87,7 +87,7 @@ class SubtitleSearcher(object):
'searchcount': e.subtitles_searchcount,
'lastsearch': e.subtitles_lastsearch,
'location': e.location,
'airdate_daydiff': (datetime.date.today() - e.airdate)
'airdate_daydiff': (datetime.date.today() - e.airdate).days
}]
if len(results) == 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment