worldqwq commited on
Commit
2642df2
1 Parent(s): 9518a49

Potential issue at line 196

Browse files

Former-commit-id: b1a2b44e1a505cfd8609ff81c2e6b3d4be4195ef

Files changed (1) hide show
  1. SRT.py +1 -1
SRT.py CHANGED
@@ -193,7 +193,7 @@ class SRT_script():
193
  if i == len(lines) - 1:
194
  break
195
  try:
196
- seg.translation = lines[i].split(":" or ": ")[1]
197
  except:
198
  seg.translation = lines[i]
199
  #print(lines[i])
 
193
  if i == len(lines) - 1:
194
  break
195
  try:
196
+ seg.translation = lines[i].split(":" or ":")[1]
197
  except:
198
  seg.translation = lines[i]
199
  #print(lines[i])