This commit is contained in:
onyx-and-iris 2022-10-24 22:49:16 +01:00
parent 60d083b238
commit c3ebc5e777

View File

@ -89,5 +89,5 @@ class ObsClient:
payload["d"]["requestData"] = req_data payload["d"]["requestData"] = req_data
self.ws.send(json.dumps(payload)) self.ws.send(json.dumps(payload))
response = json.loads(self.ws.recv()) response = json.loads(self.ws.recv())
self.logger.debug(f"Reponse received {response}") self.logger.debug(f"Response received {response}")
return response["d"] return response["d"]