simpler syntax

pull/198/head
Aevann 2023-08-30 13:43:47 +03:00
parent eff6d93560
commit e3805aa465
1 changed files with 1 additions and 2 deletions

View File

@ -1336,8 +1336,7 @@ class User(Base):
@property
@lazy
def ordered_badges(self):
x = sorted(self.badges, key=badge_ordering_func)
return x
return sorted(self.badges, key=badge_ordering_func)
@lazy
def rendered_sig(self, v):