No more naughty, all is fine

This commit is contained in:
AllfatherHatt 2025-03-16 13:22:48 +01:00
parent 931d1b7298
commit cc4e7ae528

View File

@ -24,7 +24,7 @@ def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24')
class Weather: class Weather:
def __init__(self, location: str): def __init__(self, location: str):
self.__location = location self.__location = location
self.api_key = "f6e5cb73cae242deb2b63903250803" self.api_key = environ.get('WEATHER_API_KEY')
@property @property
def location(self) -> str: def location(self) -> str: