Skip to content

Commit

Permalink
black problem ...
Browse files Browse the repository at this point in the history
  • Loading branch information
SNoiraud committed Apr 16, 2024
1 parent a2e3211 commit bdddf67
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions gramps/plugins/webreport/person.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)
Expand Down

0 comments on commit bdddf67

Please sign in to comment.