[hotfix] could not load multiple parameters from pylot.in if values are type==string
This commit is contained in:
parent
3931f13fbe
commit
09b2dfa5d1
@ -208,7 +208,10 @@ class PylotParameter(object):
|
||||
vallist = value.strip().split(' ')
|
||||
val = []
|
||||
for val0 in vallist:
|
||||
val0 = float(val0)
|
||||
try:
|
||||
val0 = float(val0)
|
||||
except:
|
||||
pass
|
||||
val.append(val0)
|
||||
else:
|
||||
val = str(value.strip())
|
||||
|
Loading…
Reference in New Issue
Block a user