From 352a1807659b0977c0ccdb8d4bad64aa4f5b5277 Mon Sep 17 00:00:00 2001 From: Joar Wandborg Date: Tue, 27 Mar 2012 23:43:15 +0200 Subject: 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. --- extlib/freesound/audioprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extlib/freesound') 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 # 2012, Joar Wandborg -from PIL import Image, ImageDraw, ImageColor #@UnresolvedImport +import Image, ImageDraw, ImageColor #@UnresolvedImport from functools import partial import math import numpy -- cgit v1.2.3