Skip to content

Commit

Permalink
fix: import vtk exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Sep 27, 2021
1 parent 7fe60eb commit 01005b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LoopStructural/visualisation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
logger.error("Missing lavavu, can't import LavaVuModelViewer")

try:
from .vtk_viewer import VtkExporter
except ImportError:
from .vtk_exporter import VtkExporter
except ImportError as e:
logger.error("No meshio")
from ._scalar_field import ScalarField

0 comments on commit 01005b3

Please sign in to comment.