From 185a77b28a90335a201e27c9cb949ce2d45a183e Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 29 Oct 2019 17:57:10 -0400 Subject: Update gutter width, tag token as a constant --- python/binaryview.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/binaryview.py b/python/binaryview.py index d0b0ac4f..146c2394 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -3479,7 +3479,10 @@ class BinaryView(object): for i in range(0, count.value): tag = TagType(core.BNNewTagTypeReference(types[i])) if tag.name in result: - result[tag.name] = [result[tag.name], tag] + if type(result[tag.name]) == list: + result[tag.name].append(tag) + else: + result[tag.name] = [result[tag.name], tag] else: result[tag.name] = tag core.BNFreeTagTypeList(types, count.value) -- cgit v1.3.1