mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Port:Fix not setting status if show location is missing but sickbeard.ADD_SHOWS_WO_DIR is set
This commit is contained in:
parent
b9c22582cf
commit
1c487f92f9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue