style: Fix codacy

This commit is contained in:
Suraj Shetty 2020-03-18 16:46:32 +05:30
parent b9bb6e6513
commit 878101d16b

View file

@ -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):