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

+ 1 - 1
main.py

@@ -474,7 +474,7 @@ def generate_subtitle_image(name_hash,text_content):
 
 def sendProgress(progress,client_id):
     ws = create_connection("ws://www.choozmo.com:8888/progress/"+client_id)
-    ws.send(progress)
+    ws.send(str(progress))
     ws.close()
 
 def anchor_video_v2(name,text_content, image_urls,avatar,client_id):