Try to fix things

This commit is contained in:
Robert Miles 2019-10-31 14:14:27 -04:00
parent 8dc1cfb01f
commit 4e84de5f7b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def highscore(bot,channel,nick,*args):
c = 10
elif c<1: # floor count at 1
c = 1
check = [(k,wrote[k]) for k in wrote]
check = [(k,wrote[k]) for k in wrote.value.keys()]
check.sort(key=lambda x: -x[1])
ret = []
for user in check[:5]: