ming 3 lat temu
rodzic
commit
c73654b4fa
1 zmienionych plików z 2 dodań i 2 usunięć
  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):