summaryrefslogtreecommitdiff
path: root/graphics/imgv/files/patch-downloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/imgv/files/patch-downloader.py')
-rw-r--r--graphics/imgv/files/patch-downloader.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/imgv/files/patch-downloader.py b/graphics/imgv/files/patch-downloader.py
new file mode 100644
index 000000000000..1c779e0a09b7
--- /dev/null
+++ b/graphics/imgv/files/patch-downloader.py
@@ -0,0 +1,11 @@
+--- downloader.py.orig 2014-10-04 23:19:16 UTC
++++ downloader.py
+@@ -7,7 +7,7 @@
+ if platform == 'win32':
+ import BmpImagePlugin, JpegImagePlugin, PngImagePlugin, SgiImagePlugin, SunImagePlugin, TgaImagePlugin, TiffImagePlugin, PcxImagePlugin, PpmImagePlugin, XpmImagePlugin # for py2exe to work with PIL
+ try:
+- import Image # PIL
++ from PIL import Image # PIL
+ except:
+ print "You are missing the python-imaging package (PIL). Please install it"
+ from usr_event import check_quit