Tweak old-style batch execution call.
Need to provide config so we can remove more edbob cruft.
This commit is contained in:
parent
fd74fb041b
commit
23f491c441
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue