1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-07-07 06:36:23 +00:00

Simplify *main setup

This commit is contained in:
Kristóf Tóth
2019-07-15 13:43:34 +02:00
parent d9e69a6327
commit 290c301d27
3 changed files with 37 additions and 69 deletions

View File

@ -21,12 +21,10 @@ def main():
eh_factory = EventHandlerFactory()
json_pipe = PipeIOEventHandler(
json_pipe_eh = eh_factory.build(PipeIOEventHandler(
'/tmp/tfw_send',
'/tmp/tfw_recv'
)
json_pipe_eh = eh_factory.build(json_pipe)
))
setup_signal_handlers()
IOLoop.instance().start()