Update index.py
This commit is contained in:
parent
41ee25aa7b
commit
7a28f8f57a
|
|
@ -291,6 +291,7 @@ class App:
|
|||
if not os.path.exists(path):
|
||||
d = {}
|
||||
cmd_un = 'cd ' + self.getServerDir() + '/dashboard && ./nezha conf -u ""'
|
||||
mw.execShell(cmd_un)
|
||||
td = mw.execShell(cmd_un)
|
||||
d['username'] = td[0].strip()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue