mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:59:25 +08:00
q
This commit is contained in:
@@ -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
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user