From 5d09ef11037fd814915e0bc215b06e0c36aba193 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 22 Dec 2022 22:58:27 +0200 Subject: [PATCH] =?UTF-8?q?fix=20accidentially=20deleted=20@property=20?= =?UTF-8?q?=F0=9F=A4=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/classes/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/classes/user.py b/files/classes/user.py index 10573ee51..2f5745143 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -470,6 +470,7 @@ class User(Base): def age(self): return int(time.time()) - self.created_utc + @property @lazy def follow_count(self): return g.db.query(Follow).filter_by(user_id=self.id).count()