.HIDE. idk

This commit is contained in:
Nyo 2016-06-01 20:29:00 +02:00
parent 6d04074ff6
commit a65a94b57d
3 changed files with 4 additions and 3 deletions

View File

@ -47,10 +47,8 @@ from events import matchChangeTeamEvent
from helpers import discordBotHelper
import sys
import traceback
from tornado import web
class handler(requestHelper.asyncRequestHandler):
@web.asynchronous
def asyncPost(self):
try:
# Track time if needed

View File

@ -16,3 +16,4 @@ memes = True
restarting = False
pool = None
requestTime = False
iol = None

4
pep.py
View File

@ -190,4 +190,6 @@ if __name__ == "__main__":
# Start tornado
app = tornado.httpserver.HTTPServer(make_app())
app.listen(serverPort)
tornado.ioloop.IOLoop.instance().start()
glob.iol = tornado.ioloop.IOLoop.instance()
glob.iol.start()
#tornado.ioloop.IOLoop.instance().start()