diff --git a/mail_template.py b/mail_template.py index def1ebe..8aa919c 100755 --- a/mail_template.py +++ b/mail_template.py @@ -38,7 +38,7 @@ with open(logfile, "r") as log: ## Load mail config from secrets file. 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_port = config['MAIL']['PORT']