[modules/weather] Fix exception if requests is not installed
fixes #418
This commit is contained in:
parent
af2e45a7b3
commit
a1a339bcb7
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue