Compare commits

..

No commits in common. "f4db1ad95c14ddfe14c6dbd35ff59cf2dac3cb6a" and "2cebd5eedbb5a883527582c3f437dce063eb4228" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ def main():
) as client: ) as client:
client.callback.register([on_input_volume_meters, on_input_mute_state_changed]) 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 pass

View File

@ -78,7 +78,7 @@ class EventClient:
except WebSocketTimeoutException as e: except WebSocketTimeoutException as e:
self.logger.exception(f"{type(e).__name__}: {e}") self.logger.exception(f"{type(e).__name__}: {e}")
raise OBSSDKTimeoutError("Timeout while waiting for event") from 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") self.logger.debug(f"{type(e).__name__} terminating the event thread")
stop_event.set() stop_event.set()