r18119 by jghali - #11404: update the use of PIL to support Pillow
scribus-commit
scribus-commit at lists.scribus.net
Wed Jan 30 12:33:44 UTC 2013
Author: jghali
Date: Wed Jan 30 12:33:44 2013
New Revision: 18119
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18119
Log:
#11404: update the use of PIL to support Pillow
Modified:
branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripts/FontSample.py
Modified: branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripts/FontSample.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18119&path=/branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripts/FontSample.py
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripts/FontSample.py (original)
+++ branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripts/FontSample.py Wed Jan 30 12:33:44 2013
@@ -154,7 +154,7 @@
try:
- import Image
+ from PIL import Image
except ImportError,err:
print 'You need to install Python Imaging Library (PIL).'
print 'If using gentoo then you need to emerge /dev-python/imaging'
@@ -164,7 +164,7 @@
try:
- import ImageTk
+ from PIL import ImageTk
except ImportError,err:
print 'Module ImageTk not found, font preview disabled'
showPreviewPanel = 0
More information about the scribus-commit
mailing list