removed config path from mail_template.py

This commit is contained in:
Adam Rabjerg
2021-03-22 21:52:13 +01:00
parent 8eb8e6ed28
commit 805f88401a

View File

@@ -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']