mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2026-04-18 14:03:32 +00:00
pass empty dict if data is None in trigger()
fixes bug with ExitStarted event. remove redundant assignment in conn_from_toml add explicit call to ws.close() in unsubscribe() patch bump
This commit is contained in:
@@ -35,10 +35,9 @@ class ObsClient:
|
||||
|
||||
def _conn_from_toml(self):
|
||||
filepath = Path.cwd() / "config.toml"
|
||||
self._conn = dict()
|
||||
with open(filepath, "rb") as f:
|
||||
self._conn = tomllib.load(f)
|
||||
return self._conn["connection"]
|
||||
conn = tomllib.load(f)
|
||||
return conn["connection"]
|
||||
|
||||
def authenticate(self):
|
||||
secret = base64.b64encode(
|
||||
|
||||
Reference in New Issue
Block a user