Explorar el Código

eng prototype

ming hace 3 años
padre
commit
f7dd25e41f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      OpenshotService/openshot_video_generator.py

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -239,7 +239,7 @@ def generate_subtitle_image_ENG(name_hash,text_content):
     img_list = [None]*len(text_content)
     for idx in range(len(text_content)):
         img_list[idx]=[]
-        sv_path = dir_subtitle + name_hash +'/'+str(idx)+ str(inner_idx) +'.png'
+        sv_path = dir_subtitle + name_hash +'/'+str(idx)+'.png'
         sub = text_content[idx]
         txt2image(sub, sv_path)
         img_list[idx] = sub