summaryrefslogtreecommitdiffstats
path: root/unfinished/gptbz/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--unfinished/gptbz/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/unfinished/gptbz/__init__.py b/unfinished/gptbz/__init__.py
index 6762b4ab..ba326cf6 100644
--- a/unfinished/gptbz/__init__.py
+++ b/unfinished/gptbz/__init__.py
@@ -1,6 +1,4 @@
-import asyncio
import websockets
-
from json import dumps, loads
async def test():
@@ -20,6 +18,8 @@ async def test():
try:
response = await wss.recv()
json_response = loads(response)
+ print(json_response)
+
ended = json_response.get('eof')
if not ended:
@@ -28,4 +28,3 @@ async def test():
except websockets.ConnectionClosed:
break
-asyncio.run(test()) \ No newline at end of file