From 931d1b72988d8b52761f77320629e67f66ce2224 Mon Sep 17 00:00:00 2001 From: AllfatherHatt Date: Sun, 16 Mar 2025 13:18:11 +0100 Subject: [PATCH] Doing naughty stuff, don't look --- reginaldCog/weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reginaldCog/weather.py b/reginaldCog/weather.py index f57b52b..0968a24 100644 --- a/reginaldCog/weather.py +++ b/reginaldCog/weather.py @@ -24,8 +24,8 @@ def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24') class Weather: def __init__(self, location: str): self.__location = location - self.api_key = environ.get('WEATHER-API_KEY') - + self.api_key = "f6e5cb73cae242deb2b63903250803" + @property def location(self) -> str: return self.__location