Quick fix
This commit is contained in:
parent
11d57c0a81
commit
b870647274
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@ from functools import lru_cache
|
|||
|
||||
parser = DateDataParser(languages=['en'])
|
||||
|
||||
def rank(l, attribute):
|
||||
def rank(l, user):
|
||||
# hack hack
|
||||
return sorted(l, key=lambda x: x.attribute)
|
||||
return sorted(l, key=lambda x: x.user)
|
||||
|
||||
def uprank(l, user):
|
||||
# hack hack
|
||||
|
|
Loading…
Reference in a new issue