From 415806e8528d7d3f3231266e3ffd9bc7340c553f Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Tue, 15 Oct 2024 10:16:19 +1100 Subject: [PATCH] fix: Send notifications from alternative email addresses --- server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.py b/server.py index ee11b41..88a5a1e 100644 --- a/server.py +++ b/server.py @@ -205,6 +205,9 @@ def save_notification_settings(email, webhook, email_alert): def get_notification_settings(email): if not os.path.exists(notification_file): return False + + # Reformat email + email = email.split('@')[0] + '@login.hns.au' with open(notification_file, "r") as f: data = json.load(f)