From e4ab7a5a42db68007b48dc1b76100ec2027e5ba8 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sat, 29 May 2021 11:28:36 -0400 Subject: acmens.py: `_agree_to`: black fmt --- acmens.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/acmens.py b/acmens.py index ba21563..0a4f5f2 100644 --- a/acmens.py +++ b/acmens.py @@ -12,7 +12,7 @@ from urllib.request import urlopen from urllib.error import HTTPError -__version__ = "0.1.4-dev2" +__version__ = "0.1.5-dev0" CA_PRD = "https://acme-v02.api.letsencrypt.org" CA_STG = "https://acme-staging-v02.api.letsencrypt.org" @@ -219,9 +219,7 @@ def _agree_to(terms): """Asks user whether they agree to the Let's Encrypt Subscriber Agreement. It will immediately exit if user does not agree.""" ans = input( - "\nDo you agree to the Let's Encrypt Subscriber Agreement\n({})? ".format( - terms - ) + "\nDo you agree to the Let's Encrypt Subscriber Agreement\n({})? ".format(terms) ) if re.search(r"[Yy]", ans) is None: sys.stderr.write("Error: Cannot continue. Exiting.\n") -- cgit v1.2.3