change PIL import to work with Pillow

This commit is contained in:
Helmut Merz 2015-06-13 11:32:04 +02:00
parent dfe5aefa69
commit e32c0411d4

View file

@ -1,5 +1,5 @@
# #
# Copyright (c) 2008 Helmut Merz helmutm@cy55.de # Copyright (c) 2015 Helmut Merz helmutm@cy55.de
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -26,7 +26,7 @@ $Id$
from logging import getLogger from logging import getLogger
try: try:
import Image from PIL import Image
except ImportError: except ImportError:
getLogger('Asset Manager').warn('Python Imaging Library could not be found.') getLogger('Asset Manager').warn('Python Imaging Library could not be found.')