From 42e4b3ba4a751985c66c84862fb2b074f3ad45b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E5=95=B8?= Date: Sat, 15 Oct 2016 16:58:33 +0800 Subject: [PATCH] fix a missing string type convert after applying #28 --- xUnique.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xUnique.py b/xUnique.py index cfc98f4..49a7692 100755 --- a/xUnique.py +++ b/xUnique.py @@ -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]