Ver Fonte

bug fix

ming há 3 anos atrás
pai
commit
67034123d4
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      OpenshotService/openshot_video_generator.py

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -191,7 +191,7 @@ def file_prepare_long(name, name_hash,text_content,image_urls,multiLang,lang='zh
     text_parser = parser()
     txt_idx = 0
     for txt in text_content:
-        rep_list = text_parser.replace_list(k)
+        rep_list = text_parser.replace_list(txt)
         for reptxt in rep_list:
             txt = txt.replace(reptxt,'')
         if lang!='zh' or multiLang==1: