mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
that was a stupid place to an if.
This commit is contained in:
parent
41ac893c81
commit
a273f9687f
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
|
|||
if single:
|
||||
dirnames[:] = []
|
||||
filenames[:] = [filename] # we just want to work with this one file if single = True
|
||||
Logger.debug("MAIN: Found %s files in %s", str(len(filenames)), dirpath)if
|
||||
Logger.debug("MAIN: Found %s files in %s", str(len(filenames)), dirpath)
|
||||
for file in filenames:
|
||||
filePath = os.path.join(dirpath, file)
|
||||
fileName, fileExtension = os.path.splitext(file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue