diff options
-rw-r--r-- | OsuSongParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OsuSongParser.py b/OsuSongParser.py index e8b4272..0c59d05 100644 --- a/OsuSongParser.py +++ b/OsuSongParser.py @@ -17,7 +17,7 @@ for filename in os.listdir(s): for name in os.listdir(path): if(regexMp3.search(name)): shutil.copy(os.path.join(path,name),cwd) - os.rename(os.path.join(cwd,name),os.path.join(cwd,songName)) + shutil.move(os.path.join(cwd,name),os.path.join(cwd,songName)) break print("Done") |