mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-18 07:15:13 -05: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
@ -1641,8 +1641,8 @@ class TVEpisode(object):
|
|||||||
self.deleteEpisode()
|
self.deleteEpisode()
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# don't update show status if show dir is missing, unless missing show dirs are created during post-processing
|
# 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:
|
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(
|
logger.log(
|
||||||
u"The show dir is missing, not bothering to change the episode statuses since it'd probably be invalid")
|
u"The show dir is missing, not bothering to change the episode statuses since it'd probably be invalid")
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user