This commit is contained in:
Aevann1 2022-02-23 07:19:57 +02:00
parent fde6526a56
commit be5cd04d41
27 changed files with 64 additions and 73 deletions

View file

@ -216,6 +216,7 @@ class User(Base):
def paid_dues(self):
return self.admin_level > 1 or self.patron > 1 or self.club_allowed in {True,None} or self.truecoins > int(environ.get("DUES").strip())
@lazy
def any_block_exists(self, other):
return g.db.query(UserBlock).filter(