freebsd-ports/misc/pylize/files/patch-pylize.in
William Grzybowski 96ea21e2fb misc/pylize: switch from py-imaging to py-pillow
- USES python

With hat:	python
Approved by:	portmgr (bdrewery, implicit)
2014-10-05 00:16:00 +00:00

11 lines
316 B
Text

--- pylize.in.orig 2014-10-05 00:14:33 UTC
+++ pylize.in
@@ -113,7 +113,7 @@
def mkLogoLink(meta):
if meta.has_key('logo'):
try:
- import Image
+ from PIL import Image
if os.path.exists(meta['logo']):
i = Image.open(meta['logo'])
else: