aromidvar1355 commited on
Commit
460e177
·
verified ·
1 Parent(s): 1214797

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def fetch_openweather_forecast(lat, lon):
70
  try:
71
  response = requests.get(url)
72
  response.raise_for_status() # Raise HTTPError for bad responses
73
- data = response.json()
74
 
75
  # Store the forecast data in the global list
76
  if data and 'daily' in data:
 
70
  try:
71
  response = requests.get(url)
72
  response.raise_for_status() # Raise HTTPError for bad responses
73
+ data = response.json()
74
 
75
  # Store the forecast data in the global list
76
  if data and 'daily' in data: