diff --git a/orangecanvas/application/canvasmain.py b/orangecanvas/application/canvasmain.py index e65488af1..bafa661c7 100644 --- a/orangecanvas/application/canvasmain.py +++ b/orangecanvas/application/canvasmain.py @@ -2698,7 +2698,7 @@ def collectall( IncompatibleChannelTypeError)) ) contents = [] - if missing_node_defs is not None: + if missing_node_defs: contents.extend([ "Missing node definitions:", *[" \N{BULLET} " + e.args[0] for e in missing_node_defs],