fixed files not going in category folders due to missing '/'
This commit is contained in:
parent
33528003c4
commit
74fe75eea0
1 changed files with 1 additions and 1 deletions
2
main.py
Normal file → Executable file
2
main.py
Normal file → Executable file
|
@ -81,7 +81,7 @@ def main():
|
||||||
os.mkdir(outputFolder + category)
|
os.mkdir(outputFolder + category)
|
||||||
else:
|
else:
|
||||||
category: str = ""
|
category: str = ""
|
||||||
path: str = outputFolder + category + newname + extension
|
path: str = outputFolder + category + "/" + newname + extension
|
||||||
shutil.move(inputFolder + file, path)
|
shutil.move(inputFolder + file, path)
|
||||||
if args.reformat:
|
if args.reformat:
|
||||||
if extension != ".mp4":
|
if extension != ".mp4":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue