merge branch 'issue284' into devel

This commit is contained in:
jevans 2014-10-21 18:14:09 -04:00
commit c1bb57f086

View file

@ -94,9 +94,9 @@ def load_library_handle(path):
else:
opj_lib = ctypes.CDLL(path)
except (TypeError, OSError):
msg = '"Library {0}" could not be loaded. Operating in degraded mode.'
msg = msg.format(path)
warnings.warn(msg, UserWarning)
msg = 'The library specified by configuration file at {0} could not be '
msg += 'loaded.'
warnings.warn(msg.format(path), UserWarning)
opj_lib = None
return opj_lib