From 3df53c63c913f66ba54567a6c7ac48d884e9463a Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 15 Nov 2022 09:21:00 -0600 Subject: [PATCH] alts: don't count deleted alts --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index 5baf2e5de..c1f2dfd03 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -746,7 +746,7 @@ class User(Base): @property @lazy def alt_ids(self): - return [x.id for x in self.alts] + return [x.id for x in self.alts if not x._alt_deleted] @property @lazy