Fix envvar imports

This commit is contained in:
Bálint Bokros
2018-02-09 14:21:17 +01:00
parent 28e83de0d7
commit 2499c4759e
3 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
from tornado.ioloop import IOLoop
from tornado.web import Application
from tfw.config import CRP_LISTENER_PORT, AVATAO_SECRET
from tfw.config import tfwenv, AVATAO_SECRET
from handlers import SolutionCheckHandler, TestHandler
from tfw.networking.solvable_connector import SolvableConnector
@ -17,6 +17,6 @@ if __name__ == '__main__':
app = Application(
routes
)
app.listen(CRP_LISTENER_PORT)
log.debug('Controller listening on {}'.format(CRP_LISTENER_PORT))
app.listen(tfwenv.CRP_LISTENER_PORT)
log.debug('Controller listening on {}'.format(tfwenv.CRP_LISTENER_PORT))
IOLoop.instance().start()