Replace SJCL library with upstream version + python3 fixes
This commit is contained in:
@@ -34,7 +34,7 @@ def json_loads_byteified(json_text):
|
||||
|
||||
def _byteify(data, ignore_dicts = False):
|
||||
# if this is a unicode string, return its string representation
|
||||
if isinstance(data, unicode):
|
||||
if isinstance(data, str):
|
||||
return data.encode('utf-8')
|
||||
# if this is a list of values, return list of byteified values
|
||||
if isinstance(data, list):
|
||||
|
||||
Reference in New Issue
Block a user