Skip to content

Commit

Permalink
[FIX] Log calculation of border countries based on argument
Browse files Browse the repository at this point in the history
- and not based on the countries to process. These can also be 2 in case of a XY coordinate containing two countries
  • Loading branch information
treee111 committed Jul 10, 2023
1 parent e2d7dd2 commit b6fd62d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wahoomc/osm_maps_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,8 @@ def log_border_countries(self):
for country in self.border_countries:
log.info('+ Involved country: %s', country)

# input can be only one country, if there are more than one,
# border countries must be selected
if len(self.border_countries) > 1:
# border countries should be processed. Log it.
if self.process_border_countries:
log.info('+ Border countries will be processed')

def get_downloader(self):
Expand Down

0 comments on commit b6fd62d

Please sign in to comment.