Skip to content

Commit

Permalink
Minor number formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
doersino committed Nov 27, 2022
1 parent a471643 commit 82287d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aerialbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ def main():
osm_url = f"https://www.openstreetmap.org/#map={zoom}/{p.lat}/{p.lon}"
googlemaps_url = f"https://www.google.com/maps/@{p.lat},{p.lon},{zoom}z"
location_globe_emoji = "🌎" if p.lon < -30 else "🌍" if p.lon < 60 else "🌏"
area_size = f"{round(geowidth/1000, 2)} × {round(geoheight/1000, 2)} km"
area_size = f"{round(geowidth/1000, 2).rstrip('0').rstrip('.')} × {round(geoheight/1000, 2).rstrip('0').rstrip('.')} km"
direction_capitalize = str(direction).capitalize()

if tweeting:
Expand Down

0 comments on commit 82287d6

Please sign in to comment.