Closed morpheus65535 closed 4 years ago
As args.strout
is required down the road to copy it to the tar.gz archive, we cannot use args.overwrite_input
with --make-test-case
. I finally had to make a temporary output file and, when sync succeed, delete original and rename synced subtitles.
https://github.com/smacke/ffsubsync/blob/997749de8aac74ec19137a2e641b97ef1bba81ea/ffsubsync/ffsubsync.py#L205
shouldn't it be:
if args.srtin is None or (args.srtout is None and args.overwrite_input is None):