From 2a34561689d2ecd91dab4d948ab831a52384b73c Mon Sep 17 00:00:00 2001 From: John G Evans Date: Tue, 30 Jul 2013 08:18:13 -0400 Subject: [PATCH] Had wrong location for default windows openjp2 install. #90 --- glymur/lib/config.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/glymur/lib/config.py b/glymur/lib/config.py index 89c596f..e2b780a 100644 --- a/glymur/lib/config.py +++ b/glymur/lib/config.py @@ -75,8 +75,6 @@ def load_openjpeg(libopenjpeg_path): def read_config_file(): """ - We expect to not find openjp2 on the system path since the only version - that we currently care about is still in the svn trunk at openjpeg.org. We must use a configuration file that the user must write. """ lib = {'openjp2': None, 'openjpeg': None} @@ -113,7 +111,7 @@ def load_openjp2(libopenjp2_path): path = os.path.join('C:\\', 'Program files', 'OpenJPEG 2.0', 'bin', 'openjp2.dll') if os.path.exists(path): - libopenjpeg_path = path + libopenjp2_path = path if libopenjp2_path is None: return None