From 220f55b6b65dd8fd3ab05c18e485d34cb8278dd8 Mon Sep 17 00:00:00 2001
From: Eesaan Atluri <atlurie@uab.edu>
Date: Fri, 8 May 2020 03:20:29 +0000
Subject: [PATCH] Change the logging msg to remove unused var

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

diff --git a/subscribe_mail_lists.py b/subscribe_mail_lists.py
index bf0afc9..483e1dd 100644
--- a/subscribe_mail_lists.py
+++ b/subscribe_mail_lists.py
@@ -50,7 +50,7 @@ def mail_list_subscription(ch, method, properties, body):
         email_msg.set_content(listserv_cmd)
         if not args.dry_run:
             s.send_message(email_msg)
-        logging.info(f'This email will add user {username} to {key}\n{email_msg}')
+        logging.info(f'This email will add user {username} to listserv \n{email_msg}')
 
         s.quit()
         msg['task'] = task
-- 
GitLab