mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 00:52:55 +00:00 
			
		
		
		
	Improve module dependencies by moving port envvars out of tfw.networking
This commit is contained in:
		@@ -1,9 +1,8 @@
 | 
			
		||||
from tornado.ioloop import IOLoop
 | 
			
		||||
 | 
			
		||||
from tfw.server import TFWServer
 | 
			
		||||
from tfw.config import TFWENV
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    TFWServer().listen(TFWENV.WEB_PORT)
 | 
			
		||||
    TFWServer().listen()
 | 
			
		||||
    IOLoop.instance().start()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user