ming 4 лет назад
Родитель
Сommit
c73654b4fa
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      main.py

+ 2 - 2
main.py

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