Fix exception that is thrown when we get() a list that's None
@@ -987,6 +987,8 @@ class Chip:
if bool(re.match(r'\[', cfg[param]['type'])):
sctype = re.sub(r'[\[\]]', '', cfg[param]['type'])
return_list = []
+ if selval is None:
+ return None
for item in selval:
if sctype == 'int':
return_list.append(int(item))
