removed config path from mail_template.py
This commit is contained in:
@@ -38,7 +38,7 @@ with open(logfile, "r") as log:
|
|||||||
|
|
||||||
## Load mail config from secrets file.
|
## Load mail config from secrets file.
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read('/home/adam/scripts/secrets.env')
|
config.read('/home/user/git/disaster-recovery/secrets.env')
|
||||||
|
|
||||||
server_name = config['MAIL']['SERVER']
|
server_name = config['MAIL']['SERVER']
|
||||||
server_port = config['MAIL']['PORT']
|
server_port = config['MAIL']['PORT']
|
||||||
|
|||||||
Reference in New Issue
Block a user