mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Make linter ignore these imports
This commit is contained in:
parent
405a0038a3
commit
a4e024634f
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@ from helper import LazyLogger
|
||||||
|
|
||||||
# If numpy is installed, the websockets library tries to use it, and then
|
# 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
|
# kodi hard crashes for reasons I don't even want to pretend to understand
|
||||||
import sys
|
import sys # noqa: E402
|
||||||
sys.modules['numpy'] = None
|
sys.modules['numpy'] = None
|
||||||
import websocket
|
import websocket # noqa: E402
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue