[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(' ')
|
vallist = value.strip().split(' ')
|
||||||
val = []
|
val = []
|
||||||
for val0 in vallist:
|
for val0 in vallist:
|
||||||
|
try:
|
||||||
val0 = float(val0)
|
val0 = float(val0)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
val.append(val0)
|
val.append(val0)
|
||||||
else:
|
else:
|
||||||
val = str(value.strip())
|
val = str(value.strip())
|
||||||
|
Loading…
Reference in New Issue
Block a user