aboutsummaryrefslogtreecommitdiff
path: root/tool/aio.py
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
commitb7e188d40ee1ef6368ff1f215984d336ef43766b (patch)
treeb9268bd5046141a0373ea5172cc3c1018ddc8eb1 /tool/aio.py
parentd3462619571f0cda59158dc41809b9b8c04bb6c2 (diff)
downloadcrupest-b7e188d40ee1ef6368ff1f215984d336ef43766b.tar.gz
crupest-b7e188d40ee1ef6368ff1f215984d336ef43766b.tar.bz2
crupest-b7e188d40ee1ef6368ff1f215984d336ef43766b.zip
Update aio.py to fix setup not gen Nginx.
Diffstat (limited to 'tool/aio.py')
-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)