summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py
index 3f667b5f..5b447584 100644
--- a/python/function.py
+++ b/python/function.py
@@ -503,7 +503,7 @@ class Function:
plat = core.BNGetFunctionPlatform(self.handle)
if plat is None:
return None
- self._platform = _platform.Platform(handle=plat)
+ self._platform = _platform.CorePlatform._from_cache(handle=plat)
return self._platform
@property