From 33fead1a6879b03280b26d0fda2c03bbfbff5a59 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Sun, 7 Apr 2024 00:08:14 +0200 Subject: [PATCH] notify_owners script: fix a typo in comment --- notify_owners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify_owners.py b/notify_owners.py index 84ed2a8..4800fc9 100755 --- a/notify_owners.py +++ b/notify_owners.py @@ -199,7 +199,7 @@ def main(): # login = input("type your smtp login: ") # password = getpass.getpass(prompt="type your password and press enter:") # context = ssl.create_default_context(cafile="/usr/local/share/ca-certificates/own.crt") - # with smtplib.smtp_ssl(server, 465, context=context) as smtp: + # with smtplib.SMTP_SSL(server, 465, context=context) as smtp: # smtp.login(login, password) agir_key = getpass.getpass(prompt=f"Type {AGIR_URL} API key:")