Commit 75d37a89 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Check the type of argument item_path_list before invoking build

parent 0d5a27e5
# Convert the item_path_list from str to list type
if isinstance(item_path_list, str):
item_path_list = item_path_list.split(',')
kwargs = { kwargs = {
'checkNeeded': check_needed, 'checkNeeded': check_needed,
'item_path_list': item_path_list} 'item_path_list': item_path_list}
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>check_needed=False, item_path_list=None</string> </value> <value> <string>check_needed=False, item_path_list=[], **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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