Fix some errors found in impress and thunderbird examples
This commit is contained in:
@@ -57,9 +57,9 @@ def check_image_stretch_and_center(modified_ppt, original_ppt):
|
||||
abs(the_modified_image.height - original_pres.slide_height) > Inches(0.1) or
|
||||
abs(the_modified_image.left - (original_pres.slide_width - the_modified_image.width) / 2) > Inches(0.1) or
|
||||
abs(the_modified_image.top - (original_pres.slide_height - the_modified_image.height) / 2) > Inches(0.1)):
|
||||
return False
|
||||
return 0.
|
||||
|
||||
return True
|
||||
return 1.
|
||||
|
||||
|
||||
def is_red_color(color):
|
||||
|
||||
Reference in New Issue
Block a user