ming před 3 roky
rodič
revize
a1315252bb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -421,7 +421,7 @@ def splitter(s):
         yield sent
 
 def split_by_pun(s):
-    res = splitter(s)
+    res = list(splitter(s))
     return res
 
 def generate_subtitle_image(name_hash,text_content):