Commented connection function call, as connection is already set up when using download backup functionality.
This commit is contained in:
parent
d5b1c7f9b9
commit
19eccd6d5b
1 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ class BackupGenerator:
|
|||
"""
|
||||
Get recepient's email address
|
||||
"""
|
||||
#import webnotes.db
|
||||
#webnotes.conn = webnotes.db.Database(use_default=1)
|
||||
recipient_list = webnotes.conn.sql(\
|
||||
"""SELECT parent FROM tabUserRole
|
||||
WHERE role='System Manager'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue