mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
22 lines
284 B
Python
22 lines
284 B
Python
# coding:utf-8
|
|
|
|
import sys
|
|
import io
|
|
import os
|
|
|
|
|
|
sys.path.append("/class/core")
|
|
reload(sys)
|
|
sys.setdefaultencoding('utf8')
|
|
|
|
import route
|
|
import config
|
|
|
|
app = config.config().makeApp(__name__)
|
|
|
|
try:
|
|
if __name__ == "__main__":
|
|
app.run()
|
|
except Exception as ex:
|
|
print ex
|