summaryrefslogtreecommitdiff
path: root/python/flowgraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/flowgraph.py')
-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: