1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-15 23:30:23 +08:00

fixed potential error of denied access

This commit is contained in:
Escartem
2023-11-24 14:56:19 +01:00
parent 3609fe3d19
commit 0dc9505fc0

View File

@@ -314,8 +314,7 @@ def main():
filename = filename.split('.')[0] filename = filename.split('.')[0]
os.rename("temp/map", f"temp/{filename}") shutil.move(f"temp/map", f"output/{filename}")
shutil.move(f"temp/{filename}", f"output/{filename}")
spinner.stop() spinner.stop()
print(f"[{curr}/{steps}] Cleaning up") print(f"[{curr}/{steps}] Cleaning up")