mirror of https://github.com/craigerl/aprsd.git
Fixed pep8 failures
This commit is contained in:
parent
986df391b2
commit
db9e1d23d1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue