kexue-z / nonebot-plugin-setu-now

不可以涩涩
MIT License
117 stars 19 forks source link

a problem in use #13

Closed shelter132 closed 2 years ago

shelter132 commented 2 years ago

json.decoder.JSONDecodeError: Extra data: line 1 column 39 (char 38) 这是什么问题?在更新后使用时出现这种报错...网上找了下原因,但自己水平不大够,没法解决...... QJTJQ7_I{9RBIT$H5N5~DCG

kexue-z commented 2 years ago

data/setu_now/ 文件夹删除试试

shelter132 commented 2 years ago

把 文件夹删除试试data/setu_now/

ok,解决了,多谢! (所以是为啥呢?)

kexue-z commented 2 years ago

可能是 cd.json 没有写入完毕 导致json文件语法错误 然后 json.decoder 就报错