diff --git a/class/core/system_api.py b/class/core/system_api.py index 5849c9487..53caecfe3 100755 --- a/class/core/system_api.py +++ b/class/core/system_api.py @@ -596,7 +596,7 @@ class system_api: public.execShell( 'unzip -o mdserver-web.zip -d ' + os.getcwd() + '/') - public.execShell('rm - rf mdserver - web.zip') + public.execShell('rm -rf mdserver-web.zip') public.execShell('restart.sh') print v_new_info diff --git a/route/dashboard.py b/route/dashboard.py index 7c4664c22..3f364950b 100644 --- a/route/dashboard.py +++ b/route/dashboard.py @@ -22,13 +22,12 @@ dashboard = Blueprint('dashboard', __name__, template_folder='templates') def test(): os = public.getOs() print os + print(sys.platform) return os @dashboard.route("/") def index(): - - print(sys.platform) if session.has_key('code'): print session['code'] return render_template('default/index.html')