Commit 3542432b authored by Gero Müller's avatar Gero Müller
Browse files

fix vispa.config for int and long

parent 6dccd4d1
......@@ -89,6 +89,12 @@ class VispaConfigParser(cp.SafeConfigParser):
# try to cast according to 'default'
if default is None:
return value
# int
if isinstance(default, int):
return int(value)
# long
if isinstance(default, long):
return long(value)
# string
if isinstance(default, str):
return str(value)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment