[hotfix] could not load multiple parameters from pylot.in if values are type==string

This commit is contained in:
Marcel Paffrath 2017-07-06 09:53:13 +02:00
parent 3931f13fbe
commit 09b2dfa5d1

View File

@ -208,7 +208,10 @@ class PylotParameter(object):
vallist = value.strip().split(' ')
val = []
for val0 in vallist:
try:
val0 = float(val0)
except:
pass
val.append(val0)
else:
val = str(value.strip())