diff --git a/handle_imported_video.py b/handle_imported_video.py index 2becf98..6d9add3 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -184,6 +184,10 @@ if _ACTION == "join": #print(myCmd) print(f"Joining {len(parts)} files to {export_name} in {_DAY_DIR}...") + try: + os.remove(export_name) + except: + pass proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) # with tqdm(total=100, position=1, desc="Convert") as pbar: # for progress in ff.run_command_with_progress():