mirror of
https://github.com/Escartem/AnimeWwise.git
synced 2026-06-04 23:40:25 +08:00
fixed potential error of denied access
This commit is contained in:
@@ -314,8 +314,7 @@ def main():
|
||||
|
||||
filename = filename.split('.')[0]
|
||||
|
||||
os.rename("temp/map", f"temp/{filename}")
|
||||
shutil.move(f"temp/{filename}", f"output/{filename}")
|
||||
shutil.move(f"temp/map", f"output/{filename}")
|
||||
|
||||
spinner.stop()
|
||||
print(f"[{curr}/{steps}] Cleaning up")
|
||||
|
||||
Reference in New Issue
Block a user