mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Always success for non video. Fixes #182
This commit is contained in:
parent
12ff0c4a34
commit
fb0cb695bf
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue