mirror of
https://github.com/gsi-upm/soil
synced 2024-11-14 15:32:29 +00:00
Fix wrong import soil.web
This commit is contained in:
parent
d70a0c865c
commit
04b4380c61
@ -1 +1 @@
|
|||||||
0.13.3
|
0.13.4
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user