]> git.parisson.com Git - timeside.git/commitdiff
grapher: PIL modules by default
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 7 Jul 2013 09:54:27 +0000 (11:54 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 7 Jul 2013 09:55:12 +0000 (11:55 +0200)
timeside/grapher/core.py

index f4acf385978f9009b0b965b70fbafbb307782ebf..fd794e89f95b3e0bb3341387e8906eaab102e3f6 100644 (file)
@@ -26,9 +26,9 @@
 import optparse, math, sys, numpy
 
 try:
-    import ImageFilter, ImageChops, Image, ImageDraw, ImageColor, ImageEnhance
-except ImportError:
     from PIL import ImageFilter, ImageChops, Image, ImageDraw, ImageColor, ImageEnhance
+except ImportError:
+    import ImageFilter, ImageChops, Image, ImageDraw, ImageColor, ImageEnhance
 
 from timeside.core import FixedSizeInputAdapter