diff --git a/gramps/plugins/webreport/person.py b/gramps/plugins/webreport/person.py index f1822f7bdc4..e3fd4e0f3d0 100644 --- a/gramps/plugins/webreport/person.py +++ b/gramps/plugins/webreport/person.py @@ -838,11 +838,7 @@ def __create_family_map(self, person, place_lat_long): number_markers = len(place_lat_long) if number_markers > 1: for latitude, longitude, placetitle, handle, event in place_lat_long: - latitude, longitude = conv_lat_lon( - latitude, - longitude, - "D.D8" - ) + latitude, longitude = conv_lat_lon(latitude, longitude, "D.D8") xwidth.append(latitude) yheight.append(longitude) xwidth.sort() @@ -858,11 +854,7 @@ def __create_family_map(self, person, place_lat_long): miny, maxy = Decimal(miny), Decimal(maxy) midy_ = str(Decimal((miny + maxy) / 2)) - midx_, midy_ = conv_lat_lon( - midx_, - midy_, - "D.D8" - ) + midx_, midy_ = conv_lat_lon(midx_, midy_, "D.D8") # get the integer span of latitude and longitude dummy_spanx = int(maxx - minx)