From 9f44b39a1f4f1b72c05c8c09dd056bb1907baa67 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Sat, 15 Mar 2025 16:10:54 -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 d09ac25..a13d008 100644 --- a/cc/weather +++ b/cc/weather @@ -3,7 +3,7 @@ if not "WAPIKEY" in os.environ: print("MeowNexUS requires the WAPIKEY environment variable for this command to function. get one from https://weatherapi.com/") sys.exit(1) query = requests.get("http://api.weatherapi.com/v1/current.json?key=" + os.environ["WAPIKEY"] + "&q=" + " ".join(sys.argv[3:])).json() -weathers_global { +weathers_global = { **dict.fromkeys([1063, 1150, 1153, 1180, 1183, 1186, 1189, 1192, 1195, 1198, 1201, 1204, 1207, 1240, 1243, 1246, 1249, 1252], "🌧️"), **dict.fromkeys([1066, 1069, 1072, 1114, 1210, 1213, 1216, 1219, 1222, 1225, 1255, 1258, 1237], "🌨️"), **dict.fromkeys([1030, 1135, 1147], "🌫️"),