admin_email_notification = 0 by default
This commit is contained in:
parent
0eee36f2ae
commit
c1c19ed7c7
1 changed files with 1 additions and 1 deletions
|
|
@ -34,5 +34,5 @@ def write_log():
|
|||
from webnotes.utils import sendmail
|
||||
subj = 'Error in running patches in %s' % webnotes.conn.cur_db_name
|
||||
msg = subj + '<br><br>Login User: ' + webnotes.user.name + '<br><br>' + webnotes.getTraceback()
|
||||
if getattr(webnotes.defs,'admin_email_notification',1):
|
||||
if getattr(webnotes.defs,'admin_email_notification',0):
|
||||
sendmail(['developers@erpnext.com'], sender='automail@erpnext.com', subject= subj, parts=[['text/plain', msg]])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue