Fixed pep8 failures

This commit is contained in:
Hemna 2023-08-07 11:07:01 -04:00
parent 986df391b2
commit db9e1d23d1
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ def get_weather_gov_for_gps(lat, lon):
)
try:
url2 = (
"https://forecast.weather.gov/MapClick.php?lat=%s"
"&lon=%s&FcstType=json" % (lat, lon)
#f"https://api.weather.gov/points/{lat},{lon}"
"https://forecast.weather.gov/MapClick.php?lat=%s"
"&lon=%s&FcstType=json" % (lat, lon)
# f"https://api.weather.gov/points/{lat},{lon}"
)
LOG.debug(f"Fetching weather '{url2}'")
response = requests.get(url2, headers=headers)