summaryrefslogtreecommitdiff
path: root/AyaBot
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-06-14 00:38:42 +0800
committerGitHub <[email protected]>2020-06-14 00:38:42 +0800
commite035f8e52f00f3a56e931ac65577591a1c982f14 (patch)
tree46ab349303ff874a14a494e1037aab0c61662d5c /AyaBot
parent327333a5c65490d8ecae13314612731819bd31df (diff)
downloadATRI-e035f8e52f00f3a56e931ac65577591a1c982f14.tar.gz
ATRI-e035f8e52f00f3a56e931ac65577591a1c982f14.tar.bz2
ATRI-e035f8e52f00f3a56e931ac65577591a1c982f14.zip
Update weather.py
Diffstat (limited to 'AyaBot')
-rw-r--r--AyaBot/plugins/weather.py4
1 files changed, 2 insertions, 2 deletions
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