Commit e70d1baf authored by Gigadoc 2's avatar Gigadoc 2

python < 3.6 support

parent 6a613c95
......@@ -152,7 +152,7 @@ class Eins:
@wraps(callback)
def wrapper(client, userdata, message):
try:
data = json.loads(message.payload)
data = json.loads(message.payload.decode("utf-8")
given_args = list(data.keys())
given_args.append("mqtt_topic")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment