From de4d74a3a9876763d0ac986b809844186ce05801 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 25 May 2020 14:02:17 -0700 Subject: [PATCH] NuWeather: drop apixu -> weatherstack link --- NuWeather/config.py | 2 +- NuWeather/plugin.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/NuWeather/config.py b/NuWeather/config.py index cc8ddd4..8eb5c06 100644 --- a/NuWeather/config.py +++ b/NuWeather/config.py @@ -60,7 +60,7 @@ conf.registerChannelValue(NuWeather.units, 'temperature', F/C means show "50F/10C", C means display only Celsius, and so on."""))) # List of supported backends for weather & geocode. This is reused by plugin.py -BACKENDS = ('openweathermap', 'darksky', 'weatherstack', 'apixu') +BACKENDS = ('openweathermap', 'darksky', 'weatherstack') GEOCODE_BACKENDS = ('nominatim', 'googlemaps', 'opencage', 'weatherstack') class NuWeatherBackend(registry.OnlySomeStrings): validStrings = BACKENDS diff --git a/NuWeather/plugin.py b/NuWeather/plugin.py index b2a2db7..e692997 100644 --- a/NuWeather/plugin.py +++ b/NuWeather/plugin.py @@ -446,7 +446,6 @@ class NuWeather(callbacks.Plugin): 'visibility': self._format_distance(mi=currentdata.get('visibility')), } } - _apixu_fetcher = _weatherstack_fetcher def _darksky_fetcher(self, location, geobackend=None): """Grabs weather data from Dark Sky."""