1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-13 23:12:28 +00:00

Fix wrong import soil.web

This commit is contained in:
J. Fernando Sánchez 2018-12-20 14:05:15 +01:00
parent d70a0c865c
commit 04b4380c61
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
0.13.3 0.13.4

View File

@ -19,7 +19,7 @@ from xml.etree.ElementTree import tostring
from tornado.concurrent import run_on_executor from tornado.concurrent import run_on_executor
from concurrent.futures import ThreadPoolExecutor from concurrent.futures import ThreadPoolExecutor
from ..simulation import SoilSimulation from ..simulation import Simulation
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO) logger.setLevel(logging.INFO)
@ -168,7 +168,7 @@ class SocketHandler(tornado.websocket.WebSocketHandler):
@run_on_executor @run_on_executor
def nonblocking(self, config): def nonblocking(self, config):
simulation = SoilSimulation(**config) simulation = Simulation(**config)
return simulation.run() return simulation.run()
@tornado.gen.coroutine @tornado.gen.coroutine