Browse Source

fixing websocket

ming 4 năm trước cách đây
mục cha
commit
651f476e78
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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):