Use param, not attribute
This commit is contained in:
parent
da7b02d4f0
commit
68a18b834e
@ -50,7 +50,7 @@ class FinancialVerificationBase(object):
|
|||||||
|
|
||||||
def _process_attachment(self, is_extended, form):
|
def _process_attachment(self, is_extended, form):
|
||||||
attachment = None
|
attachment = None
|
||||||
if self.is_extended:
|
if is_extended:
|
||||||
attachment = None
|
attachment = None
|
||||||
if isinstance(form.task_order.data, FileStorage):
|
if isinstance(form.task_order.data, FileStorage):
|
||||||
Attachment.delete_for_resource("task_order", self.request.id)
|
Attachment.delete_for_resource("task_order", self.request.id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user