DWizard commited on
Commit
576104c
·
1 Parent(s): 00ca03a

debug preprocess

Browse files

Former-commit-id: b74b861a4afa49f05f484e99c47ee793eea6f1e1

Files changed (1) hide show
  1. src/task.py +1 -1
src/task.py CHANGED
@@ -111,7 +111,7 @@ class Task:
111
  self.SRT_Script.form_whole_sentence()
112
  # self.SRT_Script.spell_check_term()
113
  self.SRT_Script.correct_with_force_term()
114
- processed_srt_path_en = str(Path(self.srt_path).with_suffix('')) + '_processed.srt'
115
  self.SRT_Script.write_srt_file_src(processed_srt_path_en)
116
 
117
  if self.output_type == "ass":
 
111
  self.SRT_Script.form_whole_sentence()
112
  # self.SRT_Script.spell_check_term()
113
  self.SRT_Script.correct_with_force_term()
114
+ processed_srt_path_en = str(Path(self.task_local_dir).with_suffix('')) + '_processed.srt'
115
  self.SRT_Script.write_srt_file_src(processed_srt_path_en)
116
 
117
  if self.output_type == "ass":