Remove dead code

This commit is contained in:
R. Richard 2019-07-08 11:44:39 +02:00 committed by therealkrispet
parent fbe60de968
commit 98271a3783

View File

@ -1,11 +1,8 @@
import logging import logging
from tornado.ioloop import IOLoop
from tornado.web import Application from tornado.web import Application
from terminado import TermSocket, SingleTermManager from terminado import TermSocket, SingleTermManager
from tfw.config import TFWENV
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
@ -45,14 +42,3 @@ class TerminadoMiniServer:
def stop(self): def stop(self):
self.term_manager.shutdown() self.term_manager.shutdown()
if __name__ == '__main__':
LOG.info('Terminado Mini Server listening on %s', TFWENV.TERMINADO_PORT)
TerminadoMiniServer(
'/terminal',
TFWENV.TERMINADO_PORT,
TFWENV.TERMINADO_WD,
['bash']
).listen()
IOLoop.instance().start()