فهرست منبع

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):
 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
     progress = 0
     name_hash = str(time.time()).replace('.','')
     name_hash = str(time.time()).replace('.','')