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
1 changed files with 1 additions and 1 deletions

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)):