Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
asn1-value-editor
Commits
cb79c2b4
Commit
cb79c2b4
authored
May 30, 2016
by
Maxime Perrotin
Browse files
Lower the case when loading dll
parent
cf73a5cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
asn1_value_editor/gui.py
View file @
cb79c2b4
...
...
@@ -221,8 +221,8 @@ def gui():
# Load and run the startup transition of the shared library (Ada only?)
msgQ
=
False
try
:
dll
=
CDLL
(
'./lib{}.so'
.
format
(
datamodel
.
FVname
))
dll_init
=
getattr
(
dll
,
'lib{}init'
.
format
(
datamodel
.
FVname
))
dll
=
CDLL
(
'./lib{}.so'
.
format
(
datamodel
.
FVname
.
lower
()
))
dll_init
=
getattr
(
dll
,
'lib{}init'
.
format
(
datamodel
.
FVname
.
lower
()
))
dll_init
()
except
OSError
as
err
:
log
.
error
(
'Issue with shared library lib{}.so:'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment