Improve module dependencies by moving port envvars out of tfw.networking

This commit is contained in:
Kristóf Tóth
2019-06-04 13:58:03 +02:00
parent f151ecfbac
commit c8e98af516
14 changed files with 68 additions and 45 deletions

View File

@ -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()