Commit a37348c6 authored by echel0n's avatar echel0n

Fixed issue when episode location is null and attempting to load from .nfo file

parent 4d8e9334
......@@ -539,6 +539,9 @@ class TVEpisode(object):
return True
def load_from_nfo(self, location):
if not self.location:
return
if not os.path.isdir(self.show.location):
sickrage.app.log.info("{}: The show dir is missing, not bothering to try loading the episode NFO".format(self.show.indexer_id))
return False
......
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