diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 10b665ae..97b9d267 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -174,11 +174,12 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID): processCategories = Set([cpsCategory, sbCategory, hpCategory, mlCategory, gzCategory]) - if inputCategory and not (inputCategory in processCategories): # no extra processign to be done... yet. + if inputCategory and not (inputCategory in processCategories): # no extra processing to be done... yet. Logger.info("MAIN: No further processing to be done for category %s.", inputCategory) result = 1 elif status == 0 or (inputCategory in [hpCategory, mlCategory, gzCategory]): # if movies linked/extracted or for other categories. Logger.debug("MAIN: Calling autoProcess script for successful download.") + status = 0 # hp, my, gz don't support failed. else: Logger.error("MAIN: Something failed! Please check logs. Exiting") sys.exit(-1)