r21489 by gpittman - fixed warning about PIL to messageBox
scribus-commit
scribus-commit at lists.scribus.net
Tue Nov 1 00:55:00 UTC 2016
Author: gpittman
Date: Tue Nov 1 00:55:00 2016
New Revision: 21489
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21489
Log:
fixed warning about PIL to messageBox
Modified:
trunk/Scribus/scribus/plugins/scriptplugin/scripts/DirectImageImport.py
Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/DirectImageImport.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21489&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/DirectImageImport.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/DirectImageImport.py (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/DirectImageImport.py Tue Nov 1 00:55:00 2016
@@ -59,7 +59,7 @@
try:
from PIL import Image
except ImportError:
- print "Unable to import the Python Imaging Library module."
+ messageBox("PIL","Unable to import the Python Imaging Library module.",ICON_WARNING,BUTTON_OK)
sys.exit(1)
def main():
More information about the scribus-commit
mailing list