From: Guillaume Pellerin Date: Sun, 7 Jul 2013 09:54:27 +0000 (+0200) Subject: grapher: PIL modules by default X-Git-Tag: 0.5.0~71^2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2ab5a393df67c20c6760b2e120b6584d44f8cc51;p=timeside.git grapher: PIL modules by default --- diff --git a/timeside/grapher/core.py b/timeside/grapher/core.py index f4acf38..fd794e8 100644 --- a/timeside/grapher/core.py +++ b/timeside/grapher/core.py @@ -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