diff --git a/gramps/src/RelImage.py b/gramps/src/RelImage.py index 3d392562b..f5aca56ca 100644 --- a/gramps/src/RelImage.py +++ b/gramps/src/RelImage.py @@ -35,10 +35,8 @@ _ = intl.gettext try: import PIL.Image no_pil = 0 - print "pil ok" except: no_pil = 1 - print "pil bad" #------------------------------------------------------------------------- # @@ -127,13 +125,11 @@ def mk_thumb(source,dest,size): if no_pil: cmd = "%s -geometry %dx%d '%s' '%s'" % (const.convert,size,size,source,dest) - print cmd os.system(cmd) else: try: im = PIL.Image.open(source) im.thumbnail((size,size)) - print "save",source,dest im.save(dest,"JPEG") except: pass