aboutsummaryrefslogtreecommitdiffstats
path: root/extlib
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2012-03-27 23:43:15 +0200
committerJoar Wandborg <git@wandborg.com>2012-03-27 23:43:15 +0200
commit352a1807659b0977c0ccdb8d4bad64aa4f5b5277 (patch)
treedf9f3ccedf365732a695dc0a61ac804705aeab56 /extlib
parent0308958b2d441ef447cdd36eeb3bb4fb5df0a764 (diff)
downloadmediagoblin-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.py2
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