From 1c487f92f97d43eb49c3ec6b02c049d286bb7669 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Tue, 10 Jun 2014 13:40:11 +0100 Subject: [PATCH] Port:Fix not setting status if show location is missing but sickbeard.ADD_SHOWS_WO_DIR is set --- sickbeard/tv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index 7024a5e4..364baf65 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -1641,8 +1641,8 @@ class TVEpisode(object): self.deleteEpisode() return False - # don't update show status if show dir is missing, unless missing show dirs are created during post-processing - if not ek.ek(os.path.isdir, self.show._location) and not sickbeard.CREATE_MISSING_SHOW_DIRS: + # don't update show status if show dir is missing, unless it's missing on purpose + if not ek.ek(os.path.isdir, self.show._location) and not sickbeard.CREATE_MISSING_SHOW_DIRS and not sickbeard.ADD_SHOWS_WO_DIR: logger.log( u"The show dir is missing, not bothering to change the episode statuses since it'd probably be invalid") return