Update panel_tools.py

pull/632/head
Mr Chen 6 months ago
parent 91612a8465
commit 7c696c24f3
  1. 2
      panel_tools.py

@ -230,7 +230,7 @@ def set_panel_pwd(password, ncli=False):
def show_panel_pwd(): def show_panel_pwd():
# 面板密码展示 # 面板密码展示
info = model.getUserByRoot() info = thisdb.getUserByRoot()
defailt_pwd_file = mw.getPanelDir()+'/data/default.pl' defailt_pwd_file = mw.getPanelDir()+'/data/default.pl'
pwd = '' pwd = ''
if os.path.exists(defailt_pwd_file): if os.path.exists(defailt_pwd_file):

Loading…
Cancel
Save