float-list
This commit is contained in:
parent
10eca37396
commit
51f5ebd57f
|
@ -175,6 +175,8 @@ class Configuration(RawConfigParser):
|
|||
return map(str.strip, value.split(types.list_member_sep))
|
||||
elif pair in types["int-list"]:
|
||||
return map(int, value.split(types.list_member_sep))
|
||||
elif pair in types["float-list"]:
|
||||
return map(float, value.split(types.list_member_sep))
|
||||
return value
|
||||
|
||||
def set_screen_captures_path(self):
|
||||
|
@ -249,7 +251,7 @@ class TypeDeclarations(dict):
|
|||
|
||||
def __init__(self):
|
||||
dict.__init__(self, {"bool": [], "int": [], "float": [], "path": [],
|
||||
"list": [], "int-list": []})
|
||||
"list": [], "int-list": [], "float-list": []})
|
||||
self.add_chart(self.defaults)
|
||||
self.add_chart(self.additional_defaults)
|
||||
|
||||
|
|
Loading…
Reference in New Issue