diff options
| author | galenbwill <galenbwill@users.noreply.github.com> | 2021-07-01 17:48:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-01 17:48:57 -0400 |
| commit | 3e2288bba38147509808b29ae60720627dc9bb03 (patch) | |
| tree | 4eca12d5cdb83901340f0099e9dc9a1de6008748 /python/binaryview.py | |
| parent | eacaabe461d4f9c2337854ce5dd304fcacd01a10 (diff) | |
fixed typo "in" should be "if"
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 29ecced8..c41ab893 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -3237,7 +3237,7 @@ class BinaryView(object): result.append(binaryninja.function.Function(self, core.BNNewFunctionReference(funcs[i]))) core.BNFreeFunctionList(funcs, count.value) if not plat is None: - result = [func for func in result in func.platform == plat] + result = [func for func in result if func.platform == plat] return result def get_functions_by_name(self, name, plat=None, ordered_filter=[SymbolType.FunctionSymbol, SymbolType.ImportedFunctionSymbol, SymbolType.LibraryFunctionSymbol]): |
