pull/109/head
Mr Chen 7 years ago
parent f8271432ed
commit 79e094b0f9
  1. 2
      app.py
  2. 3
      route/dashboard.py

@ -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')

@ -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')

Loading…
Cancel
Save