From b04faa3511b95195fd360e9873d668f9f4c36485 Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Mon, 15 Sep 2008 17:25:17 +0000 Subject: [PATCH] Fixed #9008 -- now use the correct library path for loading the `WinDLL` instance of the GDAL library. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9036 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/gis/gdal/libgdal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/gis/gdal/libgdal.py b/django/contrib/gis/gdal/libgdal.py index bf8933dffb..78a719a940 100644 --- a/django/contrib/gis/gdal/libgdal.py +++ b/django/contrib/gis/gdal/libgdal.py @@ -42,7 +42,7 @@ lgdal = CDLL(lib_path) # different calling convention. if os.name == 'nt': from ctypes import WinDLL - lwingdal = WinDLL(lib_name) + lwingdal = WinDLL(lib_path) def std_call(func): """