浏览代码

fixing websocket

ming 4 年之前
父节点
当前提交
783cec22c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -494,7 +494,7 @@ def generate_subtitle_image(name_hash,text_content):
 
 
 def anchor_video_v2(name,text_content, image_urls,avatar):
-    await ws = create_connection("ws://www.choozmo.com:8888/progress")
+    ws = create_connection("ws://www.choozmo.com:8888/progress")
     progress = 0
     name_hash = str(time.time()).replace('.','')