From 327d27811e51bcdb41115a2b89110df83af2a8ae Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 14 Jun 2003 17:14:46 +0000 Subject: [PATCH] Fixed typo svn: r1742 --- src/Utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils.py b/src/Utils.py index d7bdbeb96..6b554065f 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -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 #-------------------------------------------------------------------------