plugin XEP-0054: also work with python2-pillow

This commit is contained in:
Emmanuel Gil Peyrot 2014-01-10 21:12:06 +01:00
commit 31607daee1

View file

@ -3,6 +3,7 @@
# SAT plugin for managing xep-0054
# Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org)
# Copyright (C) 2014 Emmanuel Gil Peyrot (linkmauve@linkmauve.fr)
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
@ -35,7 +36,7 @@ from base64 import b64decode, b64encode
from hashlib import sha1
from sat.core import exceptions
from sat.memory.persistent import PersistentDict
import Image
from PIL import Image
from cStringIO import StringIO
try: