Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix syntax typo
Mohammad Rafighb1f631245c5e
diff --git a/wger/core/models/profile.py b/wger/core/models/profile.pyindex 81b1577d9..e35af5d7e 100644--- a/wger/core/models/profile.py+++ b/wger/core/models/profile.py@@ -202,7 +202,7 @@ by the US Department of Agriculture. It is extremely complete, with aroundreturn Falsedays_since_joined = datetime.date.today() - self.user.date_joined.date()- minimum_account_age = settings.WGER_SETTINGS['MINIMUM_AGE_TO_TRUST']:+ minimum_account_age = settings.WGER_SETTINGS['MINIMUM_AGE_TO_TRUST']return days_since_joined.days > minimum_account_age and self.email_verified