mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2026-04-18 14:03:32 +00:00
auth logger for clients
added RpcVersion in auth loggers for both requests and events clients. removed the check in baseclient auth function and returned the whole response.
This commit is contained in:
@@ -108,7 +108,7 @@ class ObsClient:
|
||||
self.ws.send(json.dumps(payload))
|
||||
try:
|
||||
response = json.loads(self.ws.recv())
|
||||
return response["op"] == 2
|
||||
return response
|
||||
except json.decoder.JSONDecodeError:
|
||||
raise OBSSDKError("failed to identify client with the server")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user