Skip to content

Commit 93ef29d

Browse files
author
Lachlan Grose
committed
syntax
1 parent 5db6a81 commit 93ef29d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

LoopStructural/modelling/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
"""
55
from LoopStructural.utils import getLogger
66
from LoopStructural.utils import LoopImportError
7+
78
logger = getLogger(__name__)
89
from LoopStructural.modelling.input.process_data import ProcessInputData
910

1011
try:
1112
from LoopStructural.modelling.input.project_file import LoopProjectfileProcessor
12-
except LoopImportError, ImportError:
13+
except (LoopImportError, ImportError):
1314
logger.error("Loop project file cannot be imported")
1415
from LoopStructural.modelling.features import StructuralFrame
1516
from LoopStructural.modelling.features import StructuralFrameBuilder

0 commit comments

Comments
 (0)