diff --git a/notify_user.py b/notify_user.py index 4f820b3cc08abb50afcebb965ed52c4621ba72c1..753d14d790c4c1d5fea98ed3709dfaa1739f5cff 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: