diff options
author | cira0100 <40918547+cira0100@users.noreply.github.com> | 2020-05-18 03:00:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 03:00:57 +0200 |
commit | d117d87204e0997ae9ac9727456543e2a6b4fb99 (patch) | |
tree | 2e277b0f1e718afff812f5d492204a2e9970990d /OsuSongParser.py | |
parent | bb625c5f8c38cb6d9caf9f1ded6cff5c3e6b2545 (diff) |
Update OsuSongParser.py
Diffstat (limited to 'OsuSongParser.py')
-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") |