Skip to content

Commit 39603f3

Browse files
committed
Update panel_tools.py
1 parent 044eb2b commit 39603f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

panel_tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ def set_panel_pwd(password, ncli=False):
222222
info = model.getUserByRoot()
223223
model.setUserByRoot(password=password)
224224
if ncli:
225-
print("|-用户名: " + info['name'])
226-
print("|-新密码: " + password)
225+
print("|-username: " + info['name'])
226+
print("|-password: " + password)
227227
else:
228228
print(username)
229229

@@ -257,7 +257,7 @@ def set_panel_username(username=None):
257257
return
258258

259259
thisdb.setUserByRoot(name=username)
260-
print("|-新用户名: %s" % username)
260+
print("|-username: %s" % username)
261261
return
262262

263263
info = thisdb.getUserByRoot()

0 commit comments

Comments
 (0)