mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-06 18:08:29 +00:00
Update utilities.py
This commit is contained in:
parent
12ac4f7f61
commit
eaf899043c
@ -78,7 +78,7 @@ def move_temp(target_path: str, output_path: str) -> None:
|
||||
if os.path.isfile(temp_output_path):
|
||||
if os.path.isfile(output_path):
|
||||
os.remove(output_path)
|
||||
shutil.move(temp_output_path, output_path, copy_function=shutil.copy2)
|
||||
shutil.move(temp_output_path, output_path)
|
||||
|
||||
|
||||
def clean_temp(target_path: str) -> None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user