mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.py
This commit is contained in:
+2
-2
@@ -1328,8 +1328,8 @@ def getAcmeDir():
|
||||
cmd = "who | sed -n '2, 1p' |awk '{print $1}'"
|
||||
user = execShell(cmd)[0].strip()
|
||||
acme = '/Users/' + user + '/.acme.sh'
|
||||
if not os.path.exists(acme):
|
||||
acme = '/.acme.sh'
|
||||
# if not os.path.exists(acme):
|
||||
# acme = '/.acme.sh'
|
||||
return acme
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user