GameSentenceMiner 2.19.7__py3-none-any.whl → 2.19.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of GameSentenceMiner might be problematic. Click here for more details.

GameSentenceMiner/obs.py CHANGED
@@ -863,7 +863,6 @@ def get_screenshot_PIL(source_name=None, compression=75, img_format='png', width
863
863
  # If validation fails, still return the image as it might be valid
864
864
  return source if return_source_dict else img
865
865
 
866
- logger.error("No active source with valid image data found.")
867
866
  return None
868
867
 
869
868
 
@@ -108,11 +108,11 @@ websocket_server_thread.start()
108
108
  plaintext_websocket_server_thread = None
109
109
  if get_config().advanced.plaintext_websocket_port:
110
110
  plaintext_websocket_server_thread = WebsocketServerThread(
111
- read=True, get_ws_port_func=lambda: get_config().get_field_value('advanced', 'plaintext_websocket_port'))
111
+ read=False, get_ws_port_func=lambda: get_config().get_field_value('advanced', 'plaintext_websocket_port'))
112
112
  plaintext_websocket_server_thread.start()
113
113
 
114
114
  overlay_server_thread = WebsocketServerThread(
115
- read=True, get_ws_port_func=lambda: get_config().get_field_value('overlay', 'websocket_port'))
115
+ read=False, get_ws_port_func=lambda: get_config().get_field_value('overlay', 'websocket_port'))
116
116
  overlay_server_thread.start()
117
117
 
118
118
  websocket_server_threads = [