Removed warning if libraries not found; we error out first. #86
This commit is contained in:
parent
dcf529d25b
commit
ece145699e
1 changed files with 0 additions and 3 deletions
|
|
@ -124,9 +124,6 @@ def glymur_config():
|
|||
libs = read_config_file()
|
||||
libopenjp2_handle = load_openjp2(libs['openjp2'])
|
||||
libopenjpeg_handle = load_openjpeg(libs['openjpeg'])
|
||||
if libopenjp2_handle is None and libopenjpeg_handle is None:
|
||||
msg = 'Neither openjp2 nor openjpeg could not be loaded.'
|
||||
warnings.warn(msg, UserWarning)
|
||||
return libopenjp2_handle, libopenjpeg_handle
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue