Skip to content

Commit

Permalink
fix: 🚑 try 2, catching loopimporterror as well as import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Apr 26, 2022
1 parent 10f7ba2 commit 5db6a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LoopStructural/modelling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"""
from LoopStructural.utils import getLogger

from LoopStructural.utils import LoopImportError
logger = getLogger(__name__)
from LoopStructural.modelling.input.process_data import ProcessInputData

try:
from LoopStructural.modelling.input.project_file import LoopProjectfileProcessor
except ImportError:
except LoopImportError, ImportError:
logger.error("Loop project file cannot be imported")
from LoopStructural.modelling.features import StructuralFrame
from LoopStructural.modelling.features import StructuralFrameBuilder
Expand Down

0 comments on commit 5db6a81

Please sign in to comment.