From 88a1549f4e69fefd4f02eb826ada04cbd36b0849 Mon Sep 17 00:00:00 2001
From: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
Date: Sat, 24 Nov 2018 12:51:01 +0100
Subject: Correctly building dummy block

---
 grc/core/FlowGraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'grc/core/FlowGraph.py')

diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py
index 58e10f08b5..7be39159e0 100644
--- a/grc/core/FlowGraph.py
+++ b/grc/core/FlowGraph.py
@@ -376,7 +376,7 @@ class FlowGraph(Element):
             )
 
             if isinstance(block, blocks.DummyBlock):
-                print('Block id "%s" not found' % block_id)
+                block.add_error_message('Block id "{}" not found.'.format(block_id))
 
             block.import_data(**block_data)
 
-- 
cgit v1.2.3