From: Helmut J. <jar...@sk...> - 2007-01-11 20:13:50
|
Hi, I get exceptions for some float fields I had to apply the following patch --- fields.py.org 2007-01-11 20:45:31.000000000 +0100 +++ fields.py 2007-01-11 20:48:46.000000000 +0100 @@ -214,7 +214,7 @@ value = value.strip() if self.decimalCount > 0: # a float (has decimal digits) - if value: + if value and value != '.': return float(value) return 0.0 else: Thanks for your work on dbfpy, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany |