diff --git a/views/__init__.py b/views/__init__.py index 8cd2bb2bc..e4a8e6dc6 100644 --- a/views/__init__.py +++ b/views/__init__.py @@ -1,4 +1,7 @@ + + from dashboard import * from site import * from files import * +from soft import * diff --git a/views/soft.py b/views/soft.py index 8a5e10238..b927cea55 100644 --- a/views/soft.py +++ b/views/soft.py @@ -1,11 +1,10 @@ # coding:utf-8 -from flask import Flask -from flask import Blueprint,render_template - +from flask import Blueprint, render_template soft = Blueprint('soft', __name__, template_folder='templates') + @soft.route("/") -def index(): - return render_template('default/soft.html') \ No newline at end of file +def index (): + return render_template('default/soft.html')