Quick fix

This commit is contained in:
Flancian 2020-12-29 20:55:45 +01:00
parent 11d57c0a81
commit b870647274

View file

@ -17,9 +17,9 @@ from functools import lru_cache
parser = DateDataParser(languages=['en']) parser = DateDataParser(languages=['en'])
def rank(l, attribute): def rank(l, user):
# hack hack # hack hack
return sorted(l, key=lambda x: x.attribute) return sorted(l, key=lambda x: x.user)
def uprank(l, user): def uprank(l, user):
# hack hack # hack hack