From ece145699e73e98a0de91ac4ed3116566b969660 Mon Sep 17 00:00:00 2001 From: John Evans Date: Wed, 24 Jul 2013 19:01:36 -0400 Subject: [PATCH] Removed warning if libraries not found; we error out first. #86 --- glymur/lib/config.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/glymur/lib/config.py b/glymur/lib/config.py index d814b89..c29579c 100644 --- a/glymur/lib/config.py +++ b/glymur/lib/config.py @@ -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