diff --git a/jellyfin_kodi/jellyfin/ws_client.py b/jellyfin_kodi/jellyfin/ws_client.py index 6553f615..30f4c831 100644 --- a/jellyfin_kodi/jellyfin/ws_client.py +++ b/jellyfin_kodi/jellyfin/ws_client.py @@ -12,9 +12,9 @@ from helper import LazyLogger # If numpy is installed, the websockets library tries to use it, and then # kodi hard crashes for reasons I don't even want to pretend to understand -import sys # noqa: E402 +import sys # noqa: E402,I100 sys.modules['numpy'] = None -import websocket # noqa: E402 +import websocket # noqa: E402,I201 ##################################################################################################