From 50cbdb7694f8a66260d85656f298ca81c2117085 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 1dd1fbe12..3c6b05229 100644 --- a/orangecanvas/application/canvasmain.py +++ b/orangecanvas/application/canvasmain.py @@ -2737,7 +2737,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],