From 85180c1d947de902bd037af1122cde80c322a251 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Tue, 9 Jan 2024 12:17:47 +0000 Subject: [PATCH] upd variable name --- obsws_python/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obsws_python/events.py b/obsws_python/events.py index a69b3de..8328909 100644 --- a/obsws_python/events.py +++ b/obsws_python/events.py @@ -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"),