changeset 788:d6652683c572

plugin XEP-0054: also work with python2-pillow
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 10 Jan 2014 21:12:06 +0100
parents dd656d745d6a
children 0cb423500fbb
files src/plugins/plugin_xep_0054.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: