From 5e203de32710b9bac0f0d6870e4e77f78f99c782 Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Fri, 8 Mar 2013 13:38:37 -0800 Subject: [PATCH] Use relative import for _imaginggl --- PIL/ImageGL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PIL/ImageGL.py b/PIL/ImageGL.py index 5c58b6ca9..147ddc3f0 100644 --- a/PIL/ImageGL.py +++ b/PIL/ImageGL.py @@ -17,7 +17,7 @@ # extensions.) ## -import _imaginggl +from . import _imaginggl ## # Texture factory. @@ -25,4 +25,4 @@ import _imaginggl class TextureFactory: pass # overwritten by the _imaginggl module -from _imaginggl import * +from ._imaginggl import *