Changeset 5126


Ignore:
Timestamp:
5 Apr 2010, 13:44:01 (15 years ago)
Author:
uli
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py

    r5124 r5126  
    6363        creation_date = datetime.now()
    6464        data.update(creation_date=creation_date, creator=creator)
    65         batch = AccessCodeBatch(**data)
    66         self.context.addBatch(batch)
     65        batch = self.context.createBatch(**data)
    6766        csv_file = batch.createCSVLogFile()
    6867        self.context._p_changed = True
Note: See TracChangeset for help on using the changeset viewer.