Changeset 2461 for pykota

Show
Ignore:
Timestamp:
09/18/05 00:27:26 (19 years ago)
Author:
jerome
Message:

Fixed another encoding problem for a payment's description

Files:
1 modified

Legend:

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

    r2460 r2461  
    976976        payments = [] 
    977977        for payment in user.Payments : 
    978             payments.append("%s # %s # %s" % (payment[0], str(payment[1]), payment[2])) 
     978            payments.append("%s # %s # %s" % (payment[0], str(payment[1]), base64.encodestring(self.userCharsetToDatabase(payment[2])).strip())) 
    979979        payments.append("%s # %s # %s" % (str(DateTime.now()), str(amount), base64.encodestring(self.userCharsetToDatabase(comment)).strip())) 
    980980        fields = {