summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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