Quick fix

This commit is contained in:
Flancian 2020-12-29 20:55:45 +01:00
parent 11d57c0a81
commit b870647274
1 changed files with 2 additions and 2 deletions

View File

@ -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