From 805f88401a73179d03b86280755e344b5168f9a3 Mon Sep 17 00:00:00 2001 From: Adam Rabjerg Date: Mon, 22 Mar 2021 21:52:13 +0100 Subject: [PATCH] removed config path from mail_template.py --- mail_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']