Moved JsonDebugPrinter to existing utils module

This commit is contained in:
Chuddah 2020-02-22 15:04:28 +00:00
parent 7491000a13
commit de493d13dd
6 changed files with 25 additions and 24 deletions

View file

@ -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: