Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actions05a4317bb3ad
diff --git a/wger/core/models/profile.py b/wger/core/models/profile.pyindex ba7ca646f..8edda7b73 100644--- a/wger/core/models/profile.py+++ b/wger/core/models/profile.py@@ -523,8 +523,8 @@ by the US Department of Agriculture. It is extremely complete, with around"""if (not WeightEntry.objects.filter(user=self.user).exists() or (- datetime.date.today() - WeightEntry.objects.filter(user=self.user).latest().date >- datetime.timedelta(days=3)+ datetime.date.today() - WeightEntry.objects.filter(user=self.user).latest().date+ > datetime.timedelta(days=3))):entry = WeightEntry()