From b64a55e0ce76910a2ebe4cf17e0d4fa1e47fbd02 Mon Sep 17 00:00:00 2001
From: swee <meow@swee.codes>
Date: Sat, 15 Mar 2025 15:49:50 -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 12d6fd9..e7d7c56 100644
--- a/cc/weather
+++ b/cc/weather
@@ -1,5 +1,5 @@
 import requests, os, sys
-if "WAPIKEY" in os.environ:
+if not "WAPIKEY" in os.environ:
     print("MeowNexUS requires the WAPIKEY environment variable for this command to function.")
     sys.exit(1)
 query = requests.get("http://api.weatherapi.com/v1/current.json?key=" + os.environ["WAPIKEY"] + "&q=" + " ".join(sys.argv[3:])).json()