r3gm commited on
Commit
512d9ac
β€’
1 Parent(s): 6d38b6f

Update soni_translate/postprocessor.py

Browse files
Files changed (1) hide show
  1. soni_translate/postprocessor.py +3 -1
soni_translate/postprocessor.py CHANGED
@@ -125,7 +125,9 @@ def media_out(
125
  soft_subtitles=False,
126
  subtitle_files="disable",
127
  ):
128
- if not media_out_name:
 
 
129
  if os.path.exists(media_file):
130
  base_name = get_no_ext_filename(media_file)
131
  else:
 
125
  soft_subtitles=False,
126
  subtitle_files="disable",
127
  ):
128
+ if media_out_name:
129
+ base_name = media_out_name + "_origin"
130
+ else:
131
  if os.path.exists(media_file):
132
  base_name = get_no_ext_filename(media_file)
133
  else: