societegenerale: PIL is a global requirement
And no other module or component has an ImportError message for PIL. It is also outdated, as users might install pillow instead.
This commit is contained in:
parent
e32005bf26
commit
55d37401bc
1 changed files with 3 additions and 5 deletions
|
|
@ -18,12 +18,10 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import hashlib
|
||||
from weboob.tools.log import getLogger
|
||||
|
||||
try:
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
raise ImportError('Please install python-imaging')
|
||||
from PIL import Image
|
||||
|
||||
from weboob.tools.log import getLogger
|
||||
|
||||
|
||||
class TileError(Exception):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue