From 3e55d77fe59f9526748ad02099a404d05d8c305e Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 7 May 2020 15:50:23 -0400 Subject: Fix graph update --- python/flowgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/flowgraph.py') diff --git a/python/flowgraph.py b/python/flowgraph.py index 786a0595..0d5f218b 100644 --- a/python/flowgraph.py +++ b/python/flowgraph.py @@ -424,7 +424,7 @@ class FlowGraph(object): def _update(self, ctxt): try: graph = self.update() - if graph is None: + if graph is NotImplemented: return None return ctypes.cast(core.BNNewFlowGraphReference(graph.handle), ctypes.c_void_p).value except: -- cgit v1.3.1