Update site_api.py

pull/267/head
midoks 3 years ago
parent d103fb1879
commit e55163f244
  1. 2
      class/core/site_api.py

@ -745,7 +745,7 @@ class site_api:
try: try:
mw.execShell("curl -sS curl https://get.acme.sh | sh") mw.execShell("curl -sS curl https://get.acme.sh | sh")
except: except:
return mw.returnJson(False, '尝试自动安装ACME失败,请通过以下命令尝试手动安装<p>安装命令: curl https://get.acme.sh | sh</p>' + acme) pass
if not os.path.exists(acme): if not os.path.exists(acme):
return mw.returnJson(False, '尝试自动安装ACME失败,请通过以下命令尝试手动安装<p>安装命令: curl https://get.acme.sh | sh</p>' + acme) return mw.returnJson(False, '尝试自动安装ACME失败,请通过以下命令尝试手动安装<p>安装命令: curl https://get.acme.sh | sh</p>' + acme)

Loading…
Cancel
Save