From 23b7b6b2f524ce25aa9dfd69210d6ae1d19e60a2 Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Mon, 14 Sep 2020 16:53:50 +0200 Subject: [PATCH] canvasmain: Fix typing error in render_error_details --- orangecanvas/application/canvasmain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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],