diff --git a/notify_owners.py b/notify_owners.py index fe25f5d..6930579 100755 --- a/notify_owners.py +++ b/notify_owners.py @@ -150,7 +150,7 @@ def notify(smtp, repositories, agir_key, fetch_mail): email["Subject"] = subject email["From"] = FORGE_ML email["To"] = user_email - email["CC"] = "forge-support@chapril.org" + email["CC"] = FORGE_ML smtp.send_message(email) logging.debug("Mail to '%s' (%s) sent for %s.", user, user_email, url) @@ -181,7 +181,7 @@ def main(): # with smtplib.smtp_ssl(server, 465, context=context) as smtp: # smtp.login(login, password) - agir_key = getpass.getpass(prompt="Type agir.april.org API key:") + agir_key = getpass.getpass(prompt=f"Type {AGIR_URL} API key:") repositories = fileinput.input() with smtplib.SMTP("127.0.0.1", 25) as smtp: