change PIL import to work with Pillow
This commit is contained in:
parent
dfe5aefa69
commit
e32c0411d4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -26,7 +26,7 @@ $Id$
|
|||
|
||||
from logging import getLogger
|
||||
try:
|
||||
import Image
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
getLogger('Asset Manager').warn('Python Imaging Library could not be found.')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue