mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 05:25:11 +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