From 72a8ea958926220cddf1f35378ae22e67d7d79a6 Mon Sep 17 00:00:00 2001 From: hdeadman Date: Thu, 14 Jul 2022 20:50:55 -0400 Subject: [PATCH] add import to avoid error when compiled with cx_freeze --- src/websocket.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/websocket.py b/src/websocket.py index 3d833801..ec3a209c 100644 --- a/src/websocket.py +++ b/src/websocket.py @@ -1,7 +1,6 @@ import websockets +import websockets.client import ssl -import os -import asyncio import base64 import json @@ -84,4 +83,3 @@ def handle(self, m, initial_game_state): # loop = asyncio.new_event_loop() # asyncio.set_event_loop(loop) # loop.run_forever() - \ No newline at end of file