From 4e9db16b2e22f653c95aa060862568619f458739 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Sat, 4 Jan 2025 22:44:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/plugins/weather.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..abe61a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env.prod \ No newline at end of file diff --git a/src/plugins/weather.py b/src/plugins/weather.py index 1b3f76e..9dcbc9c 100644 --- a/src/plugins/weather.py +++ b/src/plugins/weather.py @@ -13,7 +13,6 @@ async def handle_function(): - def get_weather(city_name): # 设置请求的URL和参数 url = f'https://apis.juhe.cn/simpleWeather/query?key=50a3bd415158e186903d6e6994157589&city={city_name}'