update python deps

This commit is contained in:
Sam
2023-04-08 08:54:06 +02:00
parent 12950358ef
commit 2f8928d763
4 changed files with 491 additions and 522 deletions

View File

@ -69,7 +69,7 @@ class VisualCrossing(BaseWeather):
self.api_key, '*****'
)
)
r = requests.get(url, params=self.params)
r = requests.get(url, params=self.params, timeout=10)
r.raise_for_status()
res = r.json()
weather = res['currentConditions']