Update base.py
This commit is contained in:
parent
3d3ceeab91
commit
537615e582
@ -26,7 +26,9 @@ class MissionParam:
|
||||
elif self.cls == int:
|
||||
return int(val)
|
||||
elif self.cls == list:
|
||||
return [i.strip() for i in val.split(',')]
|
||||
if type(val) == str:
|
||||
return [i.strip() for i in val.split(',')]
|
||||
return val
|
||||
elif issubclass(self.cls, Base):
|
||||
if type(val) == str:
|
||||
data = store.get(self.cls, val)
|
||||
|
Loading…
Reference in New Issue
Block a user