From 071279f9363e595abeb523ab503237a27d09d0d8 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 16 Nov 2024 14:14:03 +0200 Subject: [PATCH] fix this https://rdrama.net/@anonymousm/wall/comment/7340245#context --- files/classes/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 22e1663be..0d59e3a79 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -1369,8 +1369,8 @@ class User(Base): if self.can_see_restricted_holes != None: return self.can_see_restricted_holes - one_month_ago = time.time() - 2592000 - if self.truescore >= TRUESCORE_MINIMUM and self.created_utc < one_month_ago: + two_weeks_ago = time.time() - 1209600 + if self.truescore >= TRUESCORE_MINIMUM and self.created_utc < two_weeks_ago: return True return False