Commit e8f116ee authored by echel0n's avatar echel0n

Reverted small change

parent 2b879753
......@@ -672,7 +672,7 @@ class TVEpisode(object):
# delete myself from show episode cache
try:
sickrage.app.log.debug("Deleting %s S%02dE%02d from the shows episode cache" % (self.show.name, self.season or 0, self.episode or 0))
del self.show.episodes[list(self.show.episodes).index(self)]
del self.show.episodes[self.show.episodes.index(self)]
except (IndexError, ValueError) as e:
pass
......
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