Commit 2b536940 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: No need to decode

parent eb6cd0b3
Pipeline #19338 failed with stage
in 0 seconds
......@@ -77,8 +77,8 @@ class SlapOSCacheMixin:
"no_data": 1
}
# Prepare for xml marshalling
data_dict["text"] = data_dict["text"].decode("UTF-8")
data_dict["user"] = data_dict["user"].decode("UTF-8")
#data_dict["text"] = data_dict["text"].decode("UTF-8")
#data_dict["user"] = data_dict["user"].decode("UTF-8")
return data_dict
data_dict = json.loads(data_json)
......
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