style: Fix codacy
This commit is contained in:
parent
b9bb6e6513
commit
878101d16b
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ def get_context(context):
|
|||
doc.flags.in_notification_update = True
|
||||
doc.save(ignore_permissions=True)
|
||||
doc.flags.in_notification_update = False
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
frappe.log_error(title='Document update failed', message=frappe.get_traceback())
|
||||
|
||||
def send_an_email(self, doc, context):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue