summaryrefslogtreecommitdiff
path: root/grc/src/utils/converter.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/src/utils/converter.py')
-rw-r--r--grc/src/utils/converter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/src/utils/converter.py b/grc/src/utils/converter.py
index 36cdd065f..34fc438fd 100644
--- a/grc/src/utils/converter.py
+++ b/grc/src/utils/converter.py
@@ -81,10 +81,10 @@ def convert(file_path, platform):
#convert instances of gui_coordinate and gui_rotation
xml = etree.parse(file_path)
for find, replace in (
- ('gui_coordinate', '_coordinate'),
- ('gui_rotation', '_rotation'),
+ ('gr_add_vxx', 'gr_add_xx'),
+ ('gr_multiply_vxx', 'gr_multiply_xx'),
):
- keys = xml.xpath('/flow_graph/block/param[key="%s"]/key'%find)
+ keys = xml.xpath('/flow_graph/block[key="%s"]/key'%find)
for key in keys:
key.text = replace
changed = True