Skip to content

Commit

Permalink
Merge pull request #95 from maruel/fix
Browse files Browse the repository at this point in the history
Fix TypeEror while logging in an exception
  • Loading branch information
michaeldavie authored Sep 3, 2024
2 parents 17dcb2d + 522fb0a commit b7a2c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env_canada/ec_radar.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async def _get_basemap(self):
return Cache.add("basemap", base_bytes, timedelta(days=7))

except ClientConnectorError as e:
logging.warning("Map from %s could not be retrieved: %s" % map_url, e)
logging.warning("Map from %s could not be retrieved: %s", map_url, e)

async def _get_legend(self):
"""Fetch legend image."""
Expand Down

0 comments on commit b7a2c98

Please sign in to comment.