diff options
| author | Brian Potchik <brian@vector35.com> | 2020-10-24 22:18:28 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-10-24 22:18:28 -0400 |
| commit | 905382cc267cc1d0ee5e3c6e122819b869f46701 (patch) | |
| tree | 1c8b911942d53c4c0a149f5a188874b7c158501e /python/binaryview.py | |
| parent | 798ff5b7e7b2de73d70017ddb0fc5e52150d9584 (diff) | |
PossibleValueSet dialog pulls existing values and miscellaneous cleanup.
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index e7c39641..a53cbf35 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -4738,6 +4738,8 @@ class BinaryView(object): """ result = core.BNPossibleValueSet() errors = ctypes.c_char_p() + if value == None: + value = '' if not core.BNParsePossibleValueSet(self.handle, value, state, result, here, errors): if errors: error_str = errors.value.decode("utf-8") |
