Private GIT

Skip to content
Snippets Groups Projects
Commit 5388bb74 authored by Fernando's avatar Fernando
Browse files

Set amActive to False when return

parent 586cc2a3
No related branches found
No related tags found
No related merge requests found
...@@ -37,12 +37,14 @@ class PostProcesser(): ...@@ -37,12 +37,14 @@ class PostProcesser():
if not ek.ek(os.path.isdir, sickbeard.TV_DOWNLOAD_DIR): if not ek.ek(os.path.isdir, sickbeard.TV_DOWNLOAD_DIR):
logger.log(u"Automatic post-processing attempted but dir " + sickbeard.TV_DOWNLOAD_DIR + " doesn't exist", logger.log(u"Automatic post-processing attempted but dir " + sickbeard.TV_DOWNLOAD_DIR + " doesn't exist",
logger.ERROR) logger.ERROR)
self.amActive = False
return return
if not ek.ek(os.path.isabs, sickbeard.TV_DOWNLOAD_DIR): if not ek.ek(os.path.isabs, sickbeard.TV_DOWNLOAD_DIR):
logger.log( logger.log(
u"Automatic post-processing attempted but dir " + sickbeard.TV_DOWNLOAD_DIR + " is relative (and probably not what you really want to process)", u"Automatic post-processing attempted but dir " + sickbeard.TV_DOWNLOAD_DIR + " is relative (and probably not what you really want to process)",
logger.ERROR) logger.ERROR)
self.amActive = False
return return
processTV.processDir(sickbeard.TV_DOWNLOAD_DIR) processTV.processDir(sickbeard.TV_DOWNLOAD_DIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment