From 507a1f9b9fa76bfdab1c9d3addb5197acc604114 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 25 Oct 2013 22:02:45 +0000 Subject: [PATCH] PIL not needed svn: r23413 --- gramps/webapp/grampsdb/view/media.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/webapp/grampsdb/view/media.py b/gramps/webapp/grampsdb/view/media.py index 3fb938798..cd83f0202 100644 --- a/gramps/webapp/grampsdb/view/media.py +++ b/gramps/webapp/grampsdb/view/media.py @@ -41,6 +41,8 @@ try: from . import png except: print("WARNING: No PIL installed or available") + NEW_PIL = False + from . import png import os ## Globals