mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 12:52:54 +00:00 
			
		
		
		
	Fix envvar imports
This commit is contained in:
		@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user