From bfa4a2c82c4dac8a663b070fccaff934698d5150 Mon Sep 17 00:00:00 2001 From: "FinByz Tech Pvt. Ltd" Date: Sat, 2 Mar 2019 19:37:28 +0530 Subject: [PATCH] fix: Removed unexpected keword argument 'indicator' (#7010) Removed unexpected keyword argument 'indicator' from frappe.throw function. --- frappe/model/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/model/document.py b/frappe/model/document.py index b2b68b2f62..7e52137942 100644 --- a/frappe/model/document.py +++ b/frappe/model/document.py @@ -1216,7 +1216,7 @@ class Document(BaseDocument): if file_lock.lock_exists(self.get_signature()): frappe.throw(_('This document is currently queued for execution. Please try again'), - title=_('Document Queued'), indicator='red') + title=_('Document Queued')) self.lock() enqueue('frappe.model.document.execute_action', doctype=self.doctype, name=self.name,