mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
q
This commit is contained in:
+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