aboutsummaryrefslogtreecommitdiff
path: root/tool/aio.py
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-25 14:12:26 +0800
committercrupest <crupest@outlook.com>2022-11-25 14:12:26 +0800
commit4d0425a017dd1d9436cef21bea2643f9e3da55aa (patch)
treed65f872e549f9a4828462909926b361c23e0563e /tool/aio.py
parent1915ea9f72e8805d552ea013d187c847d8d500d1 (diff)
downloadcrupest-4d0425a017dd1d9436cef21bea2643f9e3da55aa.tar.gz
crupest-4d0425a017dd1d9436cef21bea2643f9e3da55aa.tar.bz2
crupest-4d0425a017dd1d9436cef21bea2643f9e3da55aa.zip
Make certbot better.
Diffstat (limited to 'tool/aio.py')
-rwxr-xr-xtool/aio.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tool/aio.py b/tool/aio.py
index 00ae596..b238735 100755
--- a/tool/aio.py
+++ b/tool/aio.py
@@ -7,7 +7,6 @@ import grp
import sys
import argparse
import shutil
-import json
import urllib.request
from rich.console import Console
from rich.prompt import Prompt, Confirm
@@ -274,8 +273,8 @@ class ConfigVar:
config_var_list: list = [
ConfigVar("CRUPEST_DOMAIN", "domain name",
"Please input your domain name:"),
- # ConfigVar("CRUPEST_EMAIL", "admin email address",
- # "Please input your email address:"),
+ ConfigVar("CRUPEST_EMAIL", "admin email address",
+ "Please input your email address:"),
ConfigVar("CRUPEST_USER", "your system account username",
lambda: pwd.getpwuid(os.getuid()).pw_name),
ConfigVar("CRUPEST_GROUP", "your system account group name",