Skip to content

Commit

Permalink
Merge pull request #67 from parched/patch-1
Browse files Browse the repository at this point in the history
Fix error message when import fails on windows
  • Loading branch information
zhuminjie committed Aug 12, 2021
2 parents a9923b1 + add44ca commit 35b372a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openseespywin-pip/openseespywin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from openseespywin.opensees import *
from openseespywin.version import *
except:
raise RuntimeError('Failed to import openseespy on Linux.')
raise RuntimeError('Failed to import openseespy on Windows.')
else:
raise RuntimeError(
'Python version 3.8 is needed for Windows')
Expand Down

0 comments on commit 35b372a

Please sign in to comment.