added test for None usage in config file, closes #293
This commit is contained in:
parent
9a6a5affb7
commit
5aac625981
2 changed files with 22 additions and 16 deletions
|
|
@ -84,8 +84,8 @@ def load_library_handle(path):
|
|||
|
||||
if path is None or path in ['None', 'none']:
|
||||
# Either could not find a library via ctypes or user-configuration-file,
|
||||
# or we could not find it in any of the default locations.
|
||||
# This is probably a very old linux.
|
||||
# or we could not find it in any of the default locations, or possibly
|
||||
# the user intentionally does not want one of the libraries to load.
|
||||
return None
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue