Adjust call signature for json.loads

This commit is contained in:
croneter 2020-12-19 07:28:31 +01:00
parent a56655356c
commit 1d46779d57

View file

@ -57,7 +57,7 @@ class KodiMonitor(xbmc.Monitor):
Called when a bunch of different stuff happens on the Kodi side
"""
if data:
data = loads(data, 'utf-8')
data = loads(data)
LOG.debug("Method: %s Data: %s", method, data)
if method == "Player.OnPlay":