Changeset 3244

Show
Ignore:
Timestamp:
08/04/07 10:17:57 (15 years ago)
Author:
jerome
Message:

Fixed the same problem as yesterday, elsewhere.

Files:
1 modified

Legend:

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

    r3243 r3244  
    397397                    else :     
    398398                        description = self.databaseToUserCharset(base64.decodestring(description)) 
     399                    if amount.endswith(" #") :     
     400                        amount = amount[:-2] # TODO : should be catched earlier, the bug is above I think 
    399401                    user.Payments.append((date, float(amount), description)) 
    400402            user.Exists = True