summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/lowlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index cad8828c..f0311bed 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -522,7 +522,7 @@ class LowLevelILInstruction:
def tokens(self) -> TokenList:
"""LLIL tokens (read-only)"""
count = ctypes.c_ulonglong()
- assert self.function.arch is not None, f"type(self.function): {type(self.function)} "
+ assert self.function.arch is not None, f"self.function.arch is None"
tokens = ctypes.POINTER(core.BNInstructionTextToken)()
result = core.BNGetLowLevelILExprText(self.function.handle, self.function.arch.handle,
self.expr_index, tokens, count)