mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
minor fixes for #230
This commit is contained in:
parent
6fe287df0d
commit
18d10d28a6
3 changed files with 6 additions and 1 deletions
|
@ -184,7 +184,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
|
|||
except:
|
||||
Logger.exception("MAIN: Extraction failed for: %s", file)
|
||||
continue
|
||||
elif (not inputCategory in cpsCategory) and (not inputCategory in sbCategory): #process all for non-video categories.
|
||||
elif not inputCategory in cpsCategory + sbCategory: #process all for non-video categories.
|
||||
Logger.info("MAIN: Found file %s for category %s", filePath, inputCategory)
|
||||
copy_link(filePath, targetDirectory, useLink, outputDestination)
|
||||
copy_list.append([filePath, os.path.join(outputDestination, file)])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue