From 23f491c4415cfb3618c4faca954f6b294bd2ff4e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 14 Apr 2015 01:29:24 -0500 Subject: [PATCH] Tweak old-style batch execution call. Need to provide config so we can remove more edbob cruft. --- tailbone/views/batches/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/batches/core.py b/tailbone/views/batches/core.py index 6a0cf6cb..2e98dd85 100644 --- a/tailbone/views/batches/core.py +++ b/tailbone/views/batches/core.py @@ -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