From 8117190a52b361c4cfe2f020c4a0cb12b6acad5f Mon Sep 17 00:00:00 2001 From: kulath Date: Mon, 15 Dec 2014 20:34:25 +0000 Subject: [PATCH] Fix 0008234: Various problems with docgen.TextDoc.add_media_object part (2) for gramps40 branch --- gramps/gen/utils/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/utils/image.py b/gramps/gen/utils/image.py index 6d6c1e8ff..f5864d1a4 100644 --- a/gramps/gen/utils/image.py +++ b/gramps/gen/utils/image.py @@ -102,7 +102,7 @@ def resize_to_jpeg(source, destination, width, height, crop=None): (width, height) = image_actual_size(width, height, img.get_width(), img.get_height()) scaled = img.scale_simple(int(width), int(height), GdkPixbuf.InterpType.BILINEAR) - scaled.savev(destination, "jpeg" "", "") + scaled.savev(destination, "jpeg", "", "") #------------------------------------------------------------------------- #