Fix 0008234: part (2) Various problems with

docgen.TextDoc.add_media_object part (2) for master branch
This commit is contained in:
kulath 2014-12-16 00:37:59 +00:00
parent 4af340c1e1
commit c57f574cb8

View File

@ -100,7 +100,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", "", "")
#-------------------------------------------------------------------------
#