From cf8072e402cf983b5cd4bcfcb316dd4ea30d508b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 29 Jul 2020 21:58:31 -0500 Subject: [PATCH] Use handler `do_delete()` method when deleting a batch even though it seems we have 2 calls to `session.delete(batch)` now, but things are still working..fingers crossed --- tailbone/views/batch/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/batch/core.py b/tailbone/views/batch/core.py index fff98730..66f0c382 100644 --- a/tailbone/views/batch/core.py +++ b/tailbone/views/batch/core.py @@ -746,7 +746,7 @@ class BatchMasterView(MasterView): """ Delete all data (files etc.) for the batch. """ - self.handler.delete(batch) + self.handler.do_delete(batch) super(BatchMasterView, self).delete_instance(batch) def get_fallback_templates(self, template, mobile=False):