diff options
Diffstat (limited to 'python/platform.py')
| -rw-r--r-- | python/platform.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/platform.py b/python/platform.py index 41934776..84125456 100644 --- a/python/platform.py +++ b/python/platform.py @@ -128,10 +128,10 @@ class Platform(metaclass=_PlatformMetaClass): platforms = core.BNGetPlatformList(count) assert platforms is not None, "core.BNGetPlatformList returned None" elif arch is None: - platforms = core.BNGetPlatformListByOS(os) + platforms = core.BNGetPlatformListByOS(os, count) assert platforms is not None, "core.BNGetPlatformListByOS returned None" else: - platforms = core.BNGetPlatformListByArchitecture(os, arch.handle) + platforms = core.BNGetPlatformListByArchitecture(arch.handle, count) assert platforms is not None, "core.BNGetPlatformListByArchitecture returned None" result = [] for i in range(0, count.value): |
