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 7c2b406d0d
commit 2fe1d49ff9

View file

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