mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-27 07:15:03 +08:00
🐛修复编码问题,fk windows
This commit is contained in:
parent
c1a3f19b23
commit
39aa462483
@ -79,7 +79,7 @@ class MarshoTools:
|
||||
if os.path.exists(json_path):
|
||||
try:
|
||||
with open(json_path, 'r') as json_file:
|
||||
data = json.load(json_file)
|
||||
data = json.load(json_file,encoding="utf-8")
|
||||
for i in data:
|
||||
self.tools_list.append(i)
|
||||
# 导入包
|
||||
|
Loading…
Reference in New Issue
Block a user