summaryrefslogtreecommitdiff
path: root/python/typearchive.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/typearchive.py')
-rw-r--r--python/typearchive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/typearchive.py b/python/typearchive.py
index 7b264056..379c7d4c 100644
--- a/python/typearchive.py
+++ b/python/typearchive.py
@@ -140,7 +140,7 @@ class TypeArchive:
"""
handle = core.BNGetTypeArchivePlatform(self.handle)
assert handle is not None
- return platform.Platform(handle=handle)
+ return platform.CorePlatform._from_cache(handle=handle)
@property
def current_snapshot_id(self) -> str: