summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/platform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/platform.py b/python/platform.py
index 59f2e527..aab00461 100644
--- a/python/platform.py
+++ b/python/platform.py
@@ -175,7 +175,7 @@ class Platform(metaclass=_PlatformMetaClass):
def _view_init(self, ctxt, view):
try:
view_obj = binaryview.BinaryView(handle=core.BNNewViewReference(view))
- self.view_init(view)
+ self.view_init(view_obj)
except:
log_error_for_exception("Unhandled Python exception in Platform._view_init")