Skip to content

Commit

Permalink
sanitize manual gps coords
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Apr 24, 2023
1 parent 4192c58 commit 257518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nws_alerts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ async def async_get_state(config, coords) -> dict:
if coords is not None:
gps_loc = coords
else:
gps_loc = config[CONF_GPS_LOC]
gps_loc = config[CONF_GPS_LOC].replace(" ", "")
_LOGGER.debug("getting state for %s from %s" % (gps_loc, url))

async with aiohttp.ClientSession() as session:
Expand Down

0 comments on commit 257518a

Please sign in to comment.