plugins: added new MissingModule exceptions to plugins using third party modules

This commit is contained in:
Goffi 2015-09-30 17:25:09 +02:00
commit 969af13f59

View file

@ -37,7 +37,10 @@ from base64 import b64decode, b64encode
from hashlib import sha1
from sat.core import exceptions
from sat.memory import persistent
from PIL import Image
try:
from PIL import Image
except:
raise exceptions.MissingModule(u"Missing module pillow, please download/install it from https://python-pillow.github.io")
from cStringIO import StringIO
try: