Skip to content

Commit

Permalink
fix a missing string type convert after applying #28
Browse files Browse the repository at this point in the history
  • Loading branch information
汪啸 committed Oct 15, 2016
1 parent f9a2c43 commit 42e4b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xUnique.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __set_to_result(self, parent_hex, current_hex, current_path_key):
current_node = self.nodes[current_hex]
isa_type = current_node['isa']
if isinstance(current_path_key, (list, tuple)):
current_path = '/'.join([str(current_node[i]) for i in current_path_key])
current_path = '/'.join([six.text_type(current_node[i]) for i in current_path_key])
elif isinstance(current_path_key, six.string_types):
if current_path_key in current_node.keys():
current_path = current_node[current_path_key]
Expand Down

0 comments on commit 42e4b3b

Please sign in to comment.