diff --git a/solvable/src/tfw_server.py b/solvable/src/tfw_server.py index e0545b7..3d77c66 100644 --- a/solvable/src/tfw_server.py +++ b/solvable/src/tfw_server.py @@ -14,7 +14,8 @@ LOG = logging.getLogger(__name__) if __name__ == '__main__': - TFWServer(partial(TestFSM, 5)).listen(TFWENV.WEB_PORT) + FiveStepLinearFSM = partial(TestFSM, 5) + TFWServer(FiveStepLinearFSM).listen(TFWENV.WEB_PORT) LOG.debug('Python version: %s', sys.version[:5]) LOG.debug('Tornado version: %s', tornado.version) LOG.debug('ZeroMQ version: %s', zmq.zmq_version())