This commit is contained in:
midoks
2018-11-06 23:45:28 +08:00
parent 81b42a59b7
commit eca8cc479b
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ def get_language():
return readFile(path).strip()
def WriteLog(type, logMsg, args=()):
def writeLog(type, logMsg, args=()):
# 写日志
try:
import time
+5 -2
View File
@@ -9,8 +9,6 @@ import psutil
import time
import os
import sys
sys.path.append(os.getcwd() + "/class/")
@@ -39,6 +37,11 @@ def code():
return out.getvalue()
@dashboard.route("/check_login")
def checkLogin():
return render_template('default/login.html')
@dashboard.route("/login")
def login():
return render_template('default/login.html')