mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-24 13:50:52 +00:00
upd variable name
This commit is contained in:
parent
f4db1ad95c
commit
85180c1d94
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user