mirror of
https://github.com/gsi-upm/soil
synced 2024-11-13 06:52:28 +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 concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
from ..simulation import SoilSimulation
|
||||
from ..simulation import Simulation
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
@ -168,7 +168,7 @@ class SocketHandler(tornado.websocket.WebSocketHandler):
|
||||
|
||||
@run_on_executor
|
||||
def nonblocking(self, config):
|
||||
simulation = SoilSimulation(**config)
|
||||
simulation = Simulation(**config)
|
||||
return simulation.run()
|
||||
|
||||
@tornado.gen.coroutine
|
||||
|
Loading…
Reference in New Issue
Block a user