summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2008-09-15 17:25:17 +0000
committerJustin Bronn <jbronn@gmail.com>2008-09-15 17:25:17 +0000
commitb04faa3511b95195fd360e9873d668f9f4c36485 (patch)
tree54b63c14314ea285dcbd4215753a1ea001dddf14
parentfe3a560768b59b97ab47d91501c625a0edd50e7c (diff)
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
-rw-r--r--django/contrib/gis/gdal/libgdal.py2
1 files changed, 1 insertions, 1 deletions
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):
"""