Commit cb79c2b4 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Lower the case when loading dll

parent cf73a5cc
......@@ -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:'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment