Commit 7b715490 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Change result path_list to JSON before sending it to python script

parent e2ee7da0
# Convert the item_path_list from str to list type
if isinstance(item_path_list, str):
item_path_list = item_path_list.split(',')
import json
# Load the JSON value for item_path_list
item_path_list = json.loads(item_path_list)
kwargs = {
'checkNeeded': check_needed,
......
......@@ -170,7 +170,7 @@
}
}
result[this.state.key] = path_list;
result[this.state.key] = JSON.stringify(path_list);
return result;
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment