Skip to content

Commit cb08a89

Browse files
committed
We delete the file later
1 parent 02817e2 commit cb08a89

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

auto_editor/edit.py

-4
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,6 @@ def edit_media(paths: list[str], args: Args, log: Log) -> None:
221221
if os.path.isdir(output):
222222
log.error("Output path already has an existing directory!")
223223

224-
if os.path.isfile(output) and src is not None and src.path != output: # type: ignore
225-
log.debug(f"Removing already existing file: {output}")
226-
os.remove(output)
227-
228224
if args.sample_rate is None:
229225
if tl is None:
230226
samplerate = 48000 if src is None else src.get_sr()

0 commit comments

Comments
 (0)