Try to fix things
This commit is contained in:
parent
8dc1cfb01f
commit
4e84de5f7b
|
@ -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]:
|
||||
|
|
Loading…
Reference in New Issue