char -> char.list

This commit is contained in:
2920233418@qq.com 2020-08-19 14:47:49 +08:00
parent 1c9d137412
commit 53fc668e4a
3 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View file

@ -5,4 +5,3 @@ config.py
.idea
test.py
push.cmd
data

View file

@ -276,7 +276,7 @@ class Ans(StdAns):
on_tree_players = on_tree_players + nowdata['all_player'][str(p)]['id'] + '\n'
return '救命[CQ:at,qq=3178302597][CQ:at,qq=3430357110]\n' + on_tree_players + '都在🌳上'
path = './data/pcr/char'
path = './data/pcr/char.list'
try:
with open(path, 'r+', encoding='utf-8') as f:
characters = f.readlines()