From f34e02d824f98560871a263db4b79ebd76c04284 Mon Sep 17 00:00:00 2001 From: dmturner Date: Thu, 13 Apr 2023 12:49:39 +0100 Subject: [PATCH] Change OpenWeatherMap request url from HTTP to HTTPS --- bumblebee_status/modules/contrib/weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee_status/modules/contrib/weather.py b/bumblebee_status/modules/contrib/weather.py index 72e0c27..4166995 100644 --- a/bumblebee_status/modules/contrib/weather.py +++ b/bumblebee_status/modules/contrib/weather.py @@ -13,7 +13,7 @@ Parameters: * weather.unit: metric (default), kelvin, imperial * weather.showcity: If set to true, show location information, otherwise hide it (defaults to true) * weather.showminmax: If set to true, show the minimum and maximum temperature, otherwise hide it (defaults to false) - * weather.apikey: API key from http://api.openweathermap.org + * weather.apikey: API key from https://api.openweathermap.org contributed by `TheEdgeOfRage `_ - many thanks! @@ -116,7 +116,7 @@ class Module(core.module.Module): def update(self): try: - weather_url = "http://api.openweathermap.org/data/2.5/weather?appid={}".format( + weather_url = "https://api.openweathermap.org/data/2.5/weather?appid={}".format( self.__apikey ) weather_url = "{}&units={}".format(weather_url, self.__unit)