This commit is contained in:
Mr Chen
2018-11-08 17:38:15 +08:00
parent f8271432ed
commit 79e094b0f9
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import time
from datetime import timedelta
sys.path.append("core/class/")
sys.path.append("/class/core/")
reload(sys)
sys.setdefaultencoding('utf8')
+2 -1
View File
@@ -4,7 +4,7 @@ import psutil
import time
import os
import sys
sys.path.append(os.getcwd() + "/class/")
sys.path.append(os.getcwd() + "/class/core/")
import public
from flask import Flask, session
@@ -20,6 +20,7 @@ dashboard = Blueprint('dashboard', __name__, template_folder='templates')
@dashboard.route("/")
def index():
print session['code']
return render_template('default/index.html')