Skip to content

Commit

Permalink
Add comment dealing with no region
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Lucey committed Aug 23, 2023
1 parent ccd56a6 commit 40d0c67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/via/models/journey.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,4 +577,6 @@ def region(self):
if not region_name:
region_name = self.destination.gps.reverse_geo["place_2"]

# if region is not populated, could use a somewhat rounded lat/lng so we can still include the journey

return region_name

0 comments on commit 40d0c67

Please sign in to comment.