mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2025-04-20 10:33:45 +01:00
Compare commits
No commits in common. "f4db1ad95c14ddfe14c6dbd35ff59cf2dac3cb6a" and "2cebd5eedbb5a883527582c3f437dce063eb4228" have entirely different histories.
f4db1ad95c
...
2cebd5eedb
@ -39,7 +39,7 @@ def main():
|
||||
) as client:
|
||||
client.callback.register([on_input_volume_meters, on_input_mute_state_changed])
|
||||
|
||||
while _ := input("Press <Enter> to exit\n"):
|
||||
while _ := input("<Enter> to exit>\n"):
|
||||
pass
|
||||
|
||||
|
||||
|
@ -78,7 +78,7 @@ class EventClient:
|
||||
except WebSocketTimeoutException as e:
|
||||
self.logger.exception(f"{type(e).__name__}: {e}")
|
||||
raise OBSSDKTimeoutError("Timeout while waiting for event") from e
|
||||
except (WebSocketConnectionClosedException, OSError) as e:
|
||||
except WebSocketConnectionClosedException as e:
|
||||
self.logger.debug(f"{type(e).__name__} terminating the event thread")
|
||||
stop_event.set()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user