mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Make sure numpy doesn't cause issues
This commit is contained in:
parent
b6cd28e39c
commit
293dc7a768
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ from kodi_six import xbmc
|
||||||
|
|
||||||
from helper import LazyLogger
|
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
|
||||||
|
sys.modules['numpy'] = None
|
||||||
import websocket
|
import websocket
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
|
|
Loading…
Reference in a new issue