Pijush2023 commited on
Commit
9d71079
·
verified ·
1 Parent(s): 8953693

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -784,7 +784,7 @@ def fetch_local_weather():
784
  current_conditions = jsonData.get("currentConditions", {})
785
  temp_celsius = current_conditions.get("temp", "N/A")
786
 
787
- if temp_celsius != "N/A"){
788
  temp_fahrenheit = int((temp_celsius * 9/5) + 32)
789
  }
790
  else{
 
784
  current_conditions = jsonData.get("currentConditions", {})
785
  temp_celsius = current_conditions.get("temp", "N/A")
786
 
787
+ if temp_celsius != "N/A"{
788
  temp_fahrenheit = int((temp_celsius * 9/5) + 32)
789
  }
790
  else{