mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-24 09:00:31 +00:00
Moved JsonDebugPrinter to existing utils module
This commit is contained in:
parent
7491000a13
commit
de493d13dd
6 changed files with 25 additions and 24 deletions
|
@ -20,7 +20,8 @@ import library
|
|||
import setup
|
||||
import monitor
|
||||
from views import Views, verify_kodi_defaults
|
||||
from helper import translate, window, settings, event, dialog, debug
|
||||
from helper import translate, window, settings, event, dialog
|
||||
from helper.utils import JsonDebugPrinter
|
||||
from jellyfin import Jellyfin
|
||||
|
||||
#################################################################################################
|
||||
|
@ -171,7 +172,7 @@ class Service(xbmc.Monitor):
|
|||
|
||||
data = json.loads(data)
|
||||
|
||||
LOG.debug("[ %s: %s ] %s", sender, method, debug.JsonDebugPrinter(data))
|
||||
LOG.debug("[ %s: %s ] %s", sender, method, JsonDebugPrinter(data))
|
||||
|
||||
if method == 'ServerOnline':
|
||||
if data.get('ServerId') is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue