summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2020-05-07 15:50:23 -0400
committerPeter LaFosse <peter@vector35.com>2020-05-07 16:15:55 -0400
commit3e55d77fe59f9526748ad02099a404d05d8c305e (patch)
treeeccb888df84ee40ef37fefd27f1bd452e3a4112b /python
parentfab65c3339608f5e0b7686965d740f0952aac05c (diff)
Fix graph update
Diffstat (limited to 'python')
-rw-r--r--python/flowgraph.py2
1 files changed, 1 insertions, 1 deletions
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: