mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2026-04-08 01:33:30 +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:
@@ -26,7 +26,7 @@ class Observer:
|
||||
"""An input's mute state has changed."""
|
||||
print(f"{data.input_name} mute toggled")
|
||||
|
||||
def on_exit_started(self, data):
|
||||
def on_exit_started(self, _):
|
||||
"""OBS has begun the shutdown process."""
|
||||
print(f"OBS closing!")
|
||||
self._cl.unsubscribe()
|
||||
|
||||
Reference in New Issue
Block a user