Changeset 2288 for pykota

Show
Ignore:
Timestamp:
06/08/05 10:36:26 (19 years ago)
Author:
jerome
Message:

In payments, the amount was retrieved as a string instead of as a float.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/ldapstorage.py

    r2287 r2288  
    368368                for payment in fields.get("pykotaPayments", []) : 
    369369                    (date, amount) = payment.split(" # ") 
    370                     user.Payments.append((date, amount)) 
     370                    user.Payments.append((date, float(amount))) 
    371371            user.Exists = 1 
    372372        return user