1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

Update kat.py

Fix search string for air-by-date to only return episodes for the date searched.
This commit is contained in:
darkdragon2000 2014-09-19 16:45:59 -04:00
parent 3f10a9e34f
commit 7ba97b6b01

View File

@ -194,7 +194,7 @@ class KATProvider(generic.TorrentProvider):
if self.show.air_by_date:
for show_name in set(allPossibleShowNames(self.show)):
ep_string = sanitizeSceneName(show_name) + ' ' + \
str(ep_obj.airdate).replace('-', '|')
str(ep_obj.airdate).replace('-', ' ')
search_string['Episode'].append(ep_string)
elif self.show.sports:
for show_name in set(allPossibleShowNames(self.show)):