From c41343bd53a4ab146197d45be974484f5feb17db Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Sat, 15 Mar 2025 16:11:26 -0700 Subject: [PATCH] Update cc/weather --- cc/weather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/weather b/cc/weather index a13d008..f2026fc 100644 --- a/cc/weather +++ b/cc/weather @@ -29,4 +29,4 @@ weathers = { if "error" in query: print("API ERROR: " + query["error"]["message"]) else: - print(query["location"]["name"] + ", " + query["location"]["region"] + ", " + query["location"]["country"] + ": " + weathers[query["current"]["is_day"]][query["current"]["condition"]["code"]] + " " + query["current"]["condition"]["text"] + " " + str(query["current"]["temp_c"]) + "°F" + "(" + str(query["current"]["temp_c"]) + "°C)") \ No newline at end of file + print(query["location"]["name"] + ", " + query["location"]["region"] + ", " + query["location"]["country"] + ": " + weathers[query["current"]["is_day"]][query["current"]["condition"]["code"]] + " " + query["current"]["condition"]["text"] + " " + str(query["current"]["temp_c"]) + "°F (" + str(query["current"]["temp_c"]) + "°C)") \ No newline at end of file