summaryrefslogtreecommitdiff
path: root/python/examples/feature_map.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/feature_map.py')
-rw-r--r--python/examples/feature_map.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/feature_map.py b/python/examples/feature_map.py
index 9884b510..e12508af 100644
--- a/python/examples/feature_map.py
+++ b/python/examples/feature_map.py
@@ -18,7 +18,7 @@ FeatureMapImportColor = (237, 189, 129)
FeatureMapExternColor = (237, 189, 129)
FeatureMapLibraryColor = (237, 189, 129)
-bv = binaryninja.open_view(sys.argv[1], update_analysis=True)
+bv = binaryninja.load(sys.argv[1], update_analysis=True)
imgdata = [FeatureMapBaseColor]*(WIDTH*HEIGHT)