From a1a339bcb7744c5706d0fa65f76226f8750eb382 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sun, 11 Aug 2019 07:17:22 +0200 Subject: [PATCH] [modules/weather] Fix exception if requests is not installed fixes #418 --- bumblebee/modules/weather.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bumblebee/modules/weather.py b/bumblebee/modules/weather.py index 19fb709..4b07646 100644 --- a/bumblebee/modules/weather.py +++ b/bumblebee/modules/weather.py @@ -118,8 +118,6 @@ class Module(bumblebee.engine.Module): self._temperature = int(weather['main']['temp']) self._weather = weather['weather'][0]['main'].lower() self._valid = True - except RequestException: - self._valid = False except Exception: self._valid = False