mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-24 06:55:21 -07:00
fix manual processing (TTM) when files in root dir.
This commit is contained in:
parent
b34e0aca32
commit
4e5d2b17be
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ def getDirs(section, subsection):
|
|||
makeDir(newPath)
|
||||
|
||||
# move file to its new path
|
||||
shutil.move(mediafile, newPath)
|
||||
shutil.move(mediafile, os.path.join(newPath, os.path.split(mediafile)[1]))
|
||||
|
||||
removeEmptyFolders(path, removeRoot=False)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue