diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2020-04-30 03:11:31 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2020-04-30 03:11:31 -0400 |
| commit | 6f863df807afdd111017a92cfc15c6f6a0d79310 (patch) | |
| tree | 101b8737097f7b41cdcd59e3f51b8cba13d3e702 /python/binaryview.py | |
| parent | 1d930f9383e438088278286d40c61888fe68b4d1 (diff) | |
fixes #1628
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`") |
