diff options
| author | Glenn Smith <glenn@vector35.com> | 2021-12-08 21:43:12 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-01-13 15:56:38 -0500 |
| commit | 486a019282443ae5429b3c42ae132fe11f4f017f (patch) | |
| tree | c04bfd26989e1918f0bb92c9175be758c6966890 /python/platform.py | |
| parent | 0444f19299b05c0e9feada89c9ef487e59b6cfcc (diff) | |
Fix a bunch of core function calls with bad args
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): |
