python-weather 2.2.0__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_weather-2.2.0/python_weather.egg-info → python_weather-2.2.1}/PKG-INFO +1 -1
- {python_weather-2.2.0 → python_weather-2.2.1}/pyproject.toml +1 -1
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/client.py +1 -3
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/version.py +1 -1
- {python_weather-2.2.0 → python_weather-2.2.1/python_weather.egg-info}/PKG-INFO +1 -1
- {python_weather-2.2.0 → python_weather-2.2.1}/LICENSE +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/MANIFEST.in +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/README.md +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/__init__.py +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/base.py +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/constants.py +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/enums.py +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/errors.py +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/forecast.py +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/SOURCES.txt +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/dependency_links.txt +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/requires.txt +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/top_level.txt +0 -0
- {python_weather-2.2.0 → python_weather-2.2.1}/setup.cfg +0 -0
|
@@ -182,9 +182,7 @@ class Client:
|
|
|
182
182
|
|
|
183
183
|
resp.raise_for_status()
|
|
184
184
|
|
|
185
|
-
return Forecast(
|
|
186
|
-
await resp.json(content_type='application/text'), unit, locale
|
|
187
|
-
)
|
|
185
|
+
return Forecast(await resp.json(content_type='text/plain'), unit, locale)
|
|
188
186
|
except ClientResponseError:
|
|
189
187
|
if attempts == self._max_retries:
|
|
190
188
|
raise RequestError(status, reason) from None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|