diff options
| author | Glenn Smith <glenn@vector35.com> | 2019-10-29 17:57:10 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2020-01-16 01:06:45 -0500 |
| commit | 185a77b28a90335a201e27c9cb949ce2d45a183e (patch) | |
| tree | 138c9a98f0d23e6dc8ffe7fcf9786e6b3383f602 /python | |
| parent | 39ec57947875e6f0f18051f0a9211119fc925ffe (diff) | |
Update gutter width, tag token as a constant
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 5 |
1 files changed, 4 insertions, 1 deletions
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) |
