Private GIT

Skip to content
Snippets Groups Projects
Commit 173cd89e authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Fix a crash for when trying to post-process episodes that are detected as air...

Fix a crash for when trying to post-process episodes that are detected as air by date but the date is invalid
parent a534d723
No related branches found
No related tags found
No related merge requests found
......@@ -462,6 +462,10 @@ class PostProcessor(object):
self._log(u"Got season "+str(season)+" episodes "+str(episodes), logger.DEBUG)
except tvdb_exceptions.tvdb_episodenotfound, e:
self._log(u"Unable to find episode with date "+str(episodes[0])+u" for show "+str(tvdb_id)+u", skipping", logger.DEBUG)
# we don't want to leave dates in the episode list if we couldn't convert them to real episode numbers
episodes = []
continue
# if there's no season then we can hopefully just use 1 automatically
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment