From 161fd7505d37c15e6697b46960c999b8213536a0 Mon Sep 17 00:00:00 2001 From: Erik van den Bergh Date: Fri, 21 Oct 2016 15:46:53 +0100 Subject: [PATCH] correct quotes leading to error --- scripts/insert_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/insert_params.py b/scripts/insert_params.py index 4af1b86..15f49f5 100644 --- a/scripts/insert_params.py +++ b/scripts/insert_params.py @@ -4,6 +4,6 @@ tree = ElementTree() tree.parse(sys.argv[1]) -tree.find('module/param[@name='+sys.argv[2]+']')[0].text = sys.argv[3] +tree.find('module/param[@name=\"'+sys.argv[2]+'\"]')[0].text = sys.argv[3] dump(tree)