diff options
author | siddharth <s@ricketyspace.net> | 2021-05-29 11:28:36 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-05-29 11:28:36 -0400 |
commit | e4ab7a5a42db68007b48dc1b76100ec2027e5ba8 (patch) | |
tree | e66aa978b31ddc3afc5e82298f11a48636762509 /acmens.py | |
parent | 926dd27fefed30bc68020ec7fcf1d1bcbb9c6d69 (diff) |
acmens.py: `_agree_to`: black fmt
Diffstat (limited to 'acmens.py')
-rw-r--r-- | acmens.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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") |