Update app.py

This commit is contained in:
Mr Chen 2018-11-08 17:22:03 +08:00
parent 6e7c4b9688
commit ff3a7f147b
1 changed files with 5 additions and 3 deletions

8
app.py
View File

@ -3,15 +3,17 @@
import sys
import io
import os
import time
from datetime import timedelta
sys.path.append("core/class/")
reload(sys)
sys.setdefaultencoding('utf8')
import route
from flask import Flask
from datetime import timedelta
sys.path.append("class/")
app = Flask(__name__)
app.debug = True
@ -32,7 +34,7 @@ DEFAULT_MODULES = (
(route.control, "/control"),
)
import time
# print "time.time(): %f " % time.time()
app.config.version = "0.0.1" + str(time.time())