Tweak old-style batch execution call.
Need to provide config so we can remove more edbob cruft.
This commit is contained in:
parent
7c2b406d0d
commit
2fe1d49ff9
|
@ -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