diff --git a/lib/tvrage_api/tvrage_api.py b/lib/tvrage_api/tvrage_api.py index 23c4c22e..5405d5c0 100644 --- a/lib/tvrage_api/tvrage_api.py +++ b/lib/tvrage_api/tvrage_api.py @@ -401,7 +401,7 @@ class TVRage: if elm.text is "0000-00-00": elm.text = str(dt.date.fromordinal(1)) try: - fixDate = parse(elm.text, fuzzy=True) + fixDate = parse(elm.text, fuzzy=True).date() elm.text = fixDate.strftime("%Y-%m-%d") except: pass diff --git a/sickbeard/providers/generic.py b/sickbeard/providers/generic.py index aeea65a5..127e7376 100644 --- a/sickbeard/providers/generic.py +++ b/sickbeard/providers/generic.py @@ -304,7 +304,7 @@ class GenericProvider: searchSeason = True for sceneSeason,sceneEpisodes in sceneSeasons.iteritems(): - for curString in self._get_season_search_strings(show, sceneSeason, sceneEpisodes, searchSeason): + for curString in self._get_season_search_strings(show, str(sceneSeason), sceneEpisodes, searchSeason): itemList += self._doSearch(curString) for item in itemList: