# HG changeset patch # User Emmanuel Gil Peyrot # Date 1389384726 -3600 # Node ID d6652683c5720446cb28b4db1c50f3f036d80aca # Parent dd656d745d6a36eb70feecc15146c13add3af234 plugin XEP-0054: also work with python2-pillow diff -r dd656d745d6a -r d6652683c572 src/plugins/plugin_xep_0054.py --- a/src/plugins/plugin_xep_0054.py Sun Jan 05 13:05:31 2014 +0100 +++ b/src/plugins/plugin_xep_0054.py Fri Jan 10 21:12:06 2014 +0100 @@ -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 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: