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."""