summaryrefslogtreecommitdiffstats
path: root/acmens.py
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-05-29 11:28:36 -0400
committersiddharth <s@ricketyspace.net>2021-05-29 11:28:36 -0400
commite4ab7a5a42db68007b48dc1b76100ec2027e5ba8 (patch)
treee66aa978b31ddc3afc5e82298f11a48636762509 /acmens.py
parent926dd27fefed30bc68020ec7fcf1d1bcbb9c6d69 (diff)
acmens.py: `_agree_to`: black fmt
Diffstat (limited to 'acmens.py')
-rw-r--r--acmens.py6
1 files 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")