From b42aeeb746991845d800c952fce663d2c1589582 Mon Sep 17 00:00:00 2001 From: SiHuan Date: Wed, 6 May 2020 16:05:27 +0800 Subject: [PATCH] fix pcr --- worker/pcr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worker/pcr.py b/worker/pcr.py index a21f6c8..eab3556 100644 --- a/worker/pcr.py +++ b/worker/pcr.py @@ -216,12 +216,14 @@ class Ans(StdAns): if cmd == 'ζŸ₯εˆ€': alldao = '' + index = 1 for key, value in nowdata['all_player'].items(): - alldao = alldao + value['id'] + ' ' + 'πŸ”ͺ'*value['δ½™εˆ€'] + '🍴'*value['εŠ ζ—Άεˆ€'] + alldao = alldao + str(index) + '. ' + value['id'] + ' ' + 'πŸ”ͺ'*value['δ½™εˆ€'] + '🍴'*value['εŠ ζ—Άεˆ€'] if int(key) in nowdata['tree']: alldao = alldao + ' 在🌳上\n' else: alldao = alldao + '\n' + index = index + 1 return alldao if cmd == 'ζ±‚εŠ©':