fixed files not going in category folders due to missing '/'

This commit is contained in:
R Dittberner 2025-10-21 23:03:54 +02:00
parent 33528003c4
commit 74fe75eea0

2
main.py Normal file → Executable file
View 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":