From 4be0752fe432a11c51a5ab9943f31efe472597d8 Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Mon, 21 Sep 2020 16:15:10 -0500
Subject: [PATCH] Fix typo

---
 notify_user.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notify_user.py b/notify_user.py
index 4f820b3..753d14d 100644
--- a/notify_user.py
+++ b/notify_user.py
@@ -42,7 +42,7 @@ def notify_user(ch, method, properties, body):
 
         else:
             # Send email to user
-            receivers = [user_mail, mail_cfg.My_email]
+            receivers = [user_email, mail_cfg.My_email]
             message = Template(mail_cfg.Whole_mail).render(username=username, to=user_email)
 
             if args.dry_run:
-- 
GitLab