summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 5d42ec35..c95c71a0 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -1143,7 +1143,7 @@ class Architecture(object):
return None, 0
result = []
for i in xrange(0, count.value):
- token_type = InstructionTextTokenType(tokens[i].type).name
+ token_type = InstructionTextTokenType(tokens[i].type)
text = tokens[i].text
value = tokens[i].value
size = tokens[i].size