Tweak old-style batch execution call.

Need to provide config so we can remove more edbob cruft.
This commit is contained in:
Lance Edgar 2015-04-14 01:29:24 -05:00
parent fd74fb041b
commit 23f491c441

View file

@ -143,7 +143,7 @@ class ExecuteBatch(View):
configure_session(self.request.rattail_config, session) configure_session(self.request.rattail_config, session)
batch = session.merge(batch) batch = session.merge(batch)
if not batch.execute(progress): if not batch.execute(self.request.rattail_config, progress):
session.rollback() session.rollback()
session.close() session.close()
return return