From 7a28f8f57ad3c8a2a35beae661c385c1f8b3deec Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 28 Jun 2023 02:30:28 +0800 Subject: [PATCH] Update index.py --- plugins/nezha/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/nezha/index.py b/plugins/nezha/index.py index e9427d2a4..4ac40ab98 100755 --- a/plugins/nezha/index.py +++ b/plugins/nezha/index.py @@ -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()