LFRequest: uses decode(utf-8) to be compatible with python3.5

This commit is contained in:
Jed Reynolds
2020-04-10 12:20:47 -07:00
parent 8a4d5189fd
commit ab4c7fd120

View File

@@ -162,7 +162,7 @@ class LFRequest:
if (show_error):
print("No response from "+self.requested_url)
return None
json_data = json.loads(responses[0].read())
json_data = json.loads(responses[0].read().decode('utf-8'))
return json_data
def addPostData(self, data):