diff options
author | Marcus Müller <marcus@hostalia.de> | 2018-10-12 19:41:20 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-10-22 19:16:49 +0200 |
commit | 6c7206817e68e6dda26f1249709d9b2c5f7d9f8e (patch) | |
tree | 1627d328c3e97df4c93c9aa8c32d8ea32fc487b7 | |
parent | 0eabe211687c511cfc3b2860485b6915f0201be6 (diff) |
GRC: loading flow graphs now leads to connections, again
This reverts a renaming experiment.
Due to conflicting naming of ports, connections couldn't be made.
This patch was done based on 100% pure Koslowski wisdom and under his
adult supervision.
-rw-r--r-- | grc/converter/flow_graph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/converter/flow_graph.py b/grc/converter/flow_graph.py index 5b4a750ef6..5b8b54e534 100644 --- a/grc/converter/flow_graph.py +++ b/grc/converter/flow_graph.py @@ -1,4 +1,4 @@ -# Copyright 2017 Free Software Foundation, Inc. +# Copyright 2017,2018 Free Software Foundation, Inc. # This file is part of GNU Radio # # GNU Radio Companion is free software; you can redistribute it and/or @@ -112,9 +112,9 @@ def convert_connection(data): snk_port_id = data.findtext('sink_key') if src_port_id.isdigit(): - src_port_id = 'out' + src_port_id + src_port_id = src_port_id if snk_port_id.isdigit(): - snk_port_id = 'in' + snk_port_id + snk_port_id = snk_port_id return yaml.ListFlowing([src_blk_id, src_port_id, snk_blk_id, snk_port_id]) |