From a753af6f7c2bda8bd975b0f87ea70978fb5d40b9 Mon Sep 17 00:00:00 2001 From: null8626 Date: Mon, 28 Oct 2024 15:32:00 +0700 Subject: [PATCH] fix: fix __version__ bug --- python_weather/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_weather/client.py b/python_weather/client.py index e058fbd..676e368 100644 --- a/python_weather/client.py +++ b/python_weather/client.py @@ -115,7 +115,7 @@ async def get( f'https://{subdomain}wttr.in/{quote_plus(location)}?format=j1', headers={ 'Content-Type': 'application/json', - 'User-Agent': f'python_weather (https://github.com/null8626/python-weather 2.0.7) Python/', + 'User-Agent': 'python_weather (https://github.com/null8626/python-weather 2.0.7) Python/', }, ) as resp: resp.raise_for_status()