From 31607daee17c0f4bc86662ccd6c4f905f81385ac Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 10 Jan 2014 21:12:06 +0100 Subject: [PATCH] plugin XEP-0054: also work with python2-pillow --- src/plugins/plugin_xep_0054.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/plugin_xep_0054.py b/src/plugins/plugin_xep_0054.py index 8c87f69e..973f96d3 100755 --- a/src/plugins/plugin_xep_0054.py +++ b/src/plugins/plugin_xep_0054.py @@ -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: