Fixed typo

svn: r1742
This commit is contained in:
Don Allingham 2003-06-14 17:14:46 +00:00
parent f9b3e5df35
commit a554ab8d80

View File

@ -527,9 +527,9 @@ def gfloat(val):
return float(val)
except:
try:
return float(val.subst('.',','))
return float(val.replace('.',','))
except:
return float(val.subst(',','.'))
return float(val.replace(',','.'))
return 0.0
#-------------------------------------------------------------------------