Skip to content

Commit

Permalink
update downloader to reflect changes in merger
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 committed Sep 3, 2024
1 parent baded89 commit 953865b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mapreader/download/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ def _download_map(
if map_name is None:
map_name = self.merger._get_output_name(grid_bb)
self.downloader.download_tiles(grid_bb, download_in_parallel=False)
success = self.merger.merge(grid_bb, map_name)
img_path, success = self.merger.merge(grid_bb, map_name)

if success:
print(f'[INFO] Downloaded "{map_name}.png"')
print(f'[INFO] Downloaded "{img_path}"')
else:
print(f'[WARNING] Download of "{map_name}.png" was unsuccessful.')
print(f'[WARNING] Download of "{img_path}" was unsuccessful.')

# Try to remove the temporary folder
try:
Expand Down

0 comments on commit 953865b

Please sign in to comment.