From 6d37838f4573ce6e7dc6c441ebb3b32d9297ddf3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 5 Sep 2022 10:57:21 +0200 Subject: [PATCH] fix 500 error --- 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 d9151190e..a729d73e6 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -768,7 +768,7 @@ class User(Base): @property @lazy def has_shadowbanned_alts(self): - for u in alts_unique: + for u in self.alts_unique: if u.shadowbanned or u.is_suspended_permanently: return True return False