Update main.py

This commit is contained in:
2025-07-15 12:38:36 +00:00
parent 78db7f8ea0
commit ff5eb96704

View File

@ -36,7 +36,7 @@ def get_weather():
"hourly": hourly "hourly": hourly
}) })
except Exception as e: except Exception as e:
print("Error fetching data:", e) print("Error fetching data:", e)
return jsonify({"error": str(e)}), 500 return jsonify({"error": str(e)}), 500
if __name__ == "__main__": if __name__ == "__main__":