Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -785,7 +785,7 @@ def fetch_local_weather():
|
|
785 |
current_conditions = jsonData.get("currentConditions", {})
|
786 |
temp_celsius = current_conditions.get("temp", "N/A")
|
787 |
|
788 |
-
if temp_celsius != "N/A"
|
789 |
temp_fahrenheit = int((temp_celsius * 9/5) + 32)
|
790 |
}
|
791 |
else{
|
|
|
785 |
current_conditions = jsonData.get("currentConditions", {})
|
786 |
temp_celsius = current_conditions.get("temp", "N/A")
|
787 |
|
788 |
+
if temp_celsius != "N/A"{
|
789 |
temp_fahrenheit = int((temp_celsius * 9/5) + 32)
|
790 |
}
|
791 |
else{
|