upd variable name

This commit is contained in:
onyx-and-iris 2024-01-09 12:17:47 +00:00
parent f4db1ad95c
commit 85180c1d94

View File

@ -67,8 +67,8 @@ class EventClient:
"""
while not stop_event.is_set():
try:
if r := self.base_client.ws.recv():
event = json.loads(r)
if response := self.base_client.ws.recv():
event = json.loads(response)
self.logger.debug(f"Event received {event}")
type_, data = (
event["d"].get("eventType"),