diff options
author | Joar Wandborg <git@wandborg.com> | 2012-03-27 23:43:15 +0200 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2012-03-27 23:43:15 +0200 |
commit | 352a1807659b0977c0ccdb8d4bad64aa4f5b5277 (patch) | |
tree | df9f3ccedf365732a695dc0a61ac804705aeab56 /extlib | |
parent | 0308958b2d441ef447cdd36eeb3bb4fb5df0a764 (diff) | |
download | mediagoblin-352a1807659b0977c0ccdb8d4bad64aa4f5b5277.tar.lz mediagoblin-352a1807659b0977c0ccdb8d4bad64aa4f5b5277.tar.xz mediagoblin-352a1807659b0977c0ccdb8d4bad64aa4f5b5277.zip |
Changed audio.* Image* imports
so that they no longer import from PIL explicitly.
This is due to explicit PIL.Image* imports failing
on a Ubuntu machine within virtualenv.
PIL is a mystery I have yet to find the energy to unravel.
The 'implicit' approach works both for the affected
machine and my local machine and I've seen it more often
out in the wild, so I'm assuming it is the right way.
Diffstat (limited to 'extlib')
-rw-r--r-- | extlib/freesound/audioprocessing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/freesound/audioprocessing.py b/extlib/freesound/audioprocessing.py index 2c2b35b5..c1dfe2eb 100644 --- a/extlib/freesound/audioprocessing.py +++ b/extlib/freesound/audioprocessing.py @@ -20,7 +20,7 @@ # Bram de Jong <bram.dejong at domain.com where domain in gmail> # 2012, Joar Wandborg <first name at last name dot se> -from PIL import Image, ImageDraw, ImageColor #@UnresolvedImport +import Image, ImageDraw, ImageColor #@UnresolvedImport from functools import partial import math import numpy |