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 c95c71a0..f1440ca3 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -176,7 +176,7 @@ class Architecture(object):
self._flag_roles = {}
self.__dict__["flag_roles"] = {}
for flag in self.__dict__["flags"]:
- role = core.BNGetArchitectureFlagRole(self.handle, self._flags[flag])
+ role = FlagRole(core.BNGetArchitectureFlagRole(self.handle, self._flags[flag]))
self.__dict__["flag_roles"][flag] = role
self._flag_roles[self._flags[flag]] = role