From 905382cc267cc1d0ee5e3c6e122819b869f46701 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sat, 24 Oct 2020 22:18:28 -0400 Subject: PossibleValueSet dialog pulls existing values and miscellaneous cleanup. --- python/binaryview.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/binaryview.py') 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") -- cgit v1.3.1