Commit 8d57ef71 authored by Jérome Perrin's avatar Jérome Perrin Committed by Kazuhiko Shiozaki

hal_json_style: fix another bytes/str confusion

parent fe66324f
......@@ -186,7 +186,9 @@ def ensureDeserialized(obj):
return datetime.time(*tuple(map(int, match_obj.groups())))
return obj
NBSP_UTF8 = u'\xA0'.encode('utf-8')
NBSP_UTF8 = u'\xA0'
if six.PY2:
NBSP_UTF8 = NBSP_UTF8.encode('utf-8')
def generateDomainTreeList(url_tool, domain_tool, domain, depth, domain_list):
if depth:
domain_list.append((
......
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