aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-28 20:52:00 +0800
committerGitHub <noreply@github.com>2022-11-28 20:52:00 +0800
commit74c76d19af9c59762f05c8f4f3ac04ed60e9445e (patch)
treeb9268bd5046141a0373ea5172cc3c1018ddc8eb1
parent61a550ff724a6dc2787a3dd24225e94582dd2ece (diff)
downloadcrupest-74c76d19af9c59762f05c8f4f3ac04ed60e9445e.tar.gz
crupest-74c76d19af9c59762f05c8f4f3ac04ed60e9445e.tar.bz2
crupest-74c76d19af9c59762f05c8f4f3ac04ed60e9445e.zip
Update aio.py to fix setup not gen Nginx.
-rwxr-xr-xtool/aio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/aio.py b/tool/aio.py
index fe8a0a9..7b3e62e 100755
--- a/tool/aio.py
+++ b/tool/aio.py
@@ -349,8 +349,8 @@ def setup(template_name_list):
else:
to_gen_nginx_conf = Confirm.ask("[yellow]It seems you have already generated nginx config. Do you want to overwrite it?[/]",
default=False, console=console)
- if to_gen_nginx_conf:
- nginx(domain, console)
+ if to_gen_nginx_conf:
+ nginx(domain, console)
data_dir_check(domain)