Always process for HeadPhones etc. fixes #182

We shouldn't stop HeadPhones processing when no movies are detected!
This commit is contained in:
Clinton Hall 2013-09-27 09:44:11 +09:30
commit be8b9c68c9

View file

@ -177,7 +177,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
if inputCategory and not (inputCategory in processCategories): # no extra processign to be done... yet.
Logger.info("MAIN: No further processing to be done for category %s.", inputCategory)
result = 1
elif status == 0:
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.")
else:
Logger.error("MAIN: Something failed! Please check logs. Exiting")