From e035f8e52f00f3a56e931ac65577591a1c982f14 Mon Sep 17 00:00:00 2001 From: Kyomotoi <37587870+Kyomotoi@users.noreply.github.com> Date: Sun, 14 Jun 2020 00:38:42 +0800 Subject: Update weather.py --- AyaBot/plugins/weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AyaBot') diff --git a/AyaBot/plugins/weather.py b/AyaBot/plugins/weather.py index 158cde2..b068279 100644 --- a/AyaBot/plugins/weather.py +++ b/AyaBot/plugins/weather.py @@ -2,7 +2,7 @@ import os import re import sys -sys.path.append('D:\\code\\Aya\\AyaBot\\plugins\\Module') +sys.path.append(r'请改成你机器人的对应目录\Aya\AyaBot\plugins\Module') import json import requests from nonebot import on_command, CommandSession @@ -216,4 +216,4 @@ async def _(session: CommandSession): if not stripped_arg: session.pause('要查询的城市不能为空,请重新输入') - session.state[session.current_key] = stripped_arg \ No newline at end of file + session.state[session.current_key] = stripped_arg -- cgit v1.2.3