summaryrefslogtreecommitdiff
path: root/grc/converter/flow_graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/converter/flow_graph.py')
-rw-r--r--grc/converter/flow_graph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/converter/flow_graph.py b/grc/converter/flow_graph.py
index d20c67703c..5b4a750ef6 100644
--- a/grc/converter/flow_graph.py
+++ b/grc/converter/flow_graph.py
@@ -82,6 +82,8 @@ def convert_block(data):
(param.findtext('key'), param.findtext('value'))
for param in data.findall('param')
))
+ if block_id == "import":
+ params["imports"] = params.pop("import")
states = OrderedDict()
x, y = ast.literal_eval(params.pop('_coordinate', '(10, 10)'))
states['coordinate'] = yaml.ListFlowing([x, y])