From d117d87204e0997ae9ac9727456543e2a6b4fb99 Mon Sep 17 00:00:00 2001 From: cira0100 <40918547+cira0100@users.noreply.github.com> Date: Mon, 18 May 2020 03:00:57 +0200 Subject: Update OsuSongParser.py --- OsuSongParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OsuSongParser.py') 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") -- cgit v1.2.3