0

fixed typo in configParser.py when parsing float values

This commit is contained in:
Aaron Griffith
2011-10-30 00:08:48 -04:00
parent bc9d368ae8
commit a3653d429f

View File

@@ -196,7 +196,7 @@ class ConfigOptionParser(object):
sys.exit(1)
return value
elif a['type'] == "float":
return long(value)
return float(value)
elif a['type'] == "complex":
return complex(value)
elif a['type'] == "function":