]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix PIL import
authorMikko Rasa <tdb@tdb.fi>
Sun, 20 Sep 2015 11:14:29 +0000 (14:14 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 20 Sep 2015 11:14:29 +0000 (14:14 +0300)
scripts/maketex.py

index 4da7866e7593b2f3abdfae7eaaa8e4254cd193f1..82a331a9cbbe3af5af0eeb4208b95b8ab09de767 100755 (executable)
@@ -14,7 +14,7 @@ def escape(str):
        return result;
 
 def make_tex(fn, filter="LINEAR", anisotropy=0, wrap=None, srgb=False):
-       import Image
+       from PIL import Image
 
        img = Image.open(fn)