Commit ec6dcc0f authored by Ben Boeckel's avatar Ben Boeckel

vtkweb: import vtkWebCore properly

The module lives under the `vtk` module, so import it from there. The
new ParaView packages do not add `vtk` to `sys.path` (which is how this
worked before).
parent 9fa5d222
Pipeline #18950 passed with stage
......@@ -6,7 +6,7 @@ very specific web application.
from time import time
import os, sys, logging, types, inspect, traceback, logging, re
from vtkWebCorePython import vtkWebApplication, vtkWebInteractionEvent
from vtk.vtkWebCorePython import vtkWebApplication, vtkWebInteractionEvent
from autobahn.wamp import register as exportRpc
# =============================================================================
......@@ -27,9 +27,9 @@ from autobahn.twisted.websocket import WebSocketServerProtocol
from vtk.web import protocols
from vtkWebCore import vtkWebApplication
from vtk.vtkWebCore import vtkWebApplication
from vtkWebCorePython import vtkWebApplication
from vtk.vtkWebCorePython import vtkWebApplication
# =============================================================================
salt = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(32))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment