diff options
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index c110dc7d..61500f06 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -3519,7 +3519,7 @@ class BinaryView(object): elif not isinstance(plat, binaryninja.platform.Platform): raise AttributeError("Provided platform is not of type `binaryninja.platform.Platform`") - if isinstance(sym_type, binaryninja.SymbolType): + if isinstance(sym_type, binaryninja.Type): sym_type = sym_type.handle elif sym_type is not None: raise AttributeError("Provided sym_type is not of type `binaryninja.SymbolType`") |
