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()