From cc1fae2bdd175518b1a4557ecbb6ba6ae3db49e1 Mon Sep 17 00:00:00 2001 From: mariusrklein <47218379+mariusrklein@users.noreply.github.com> Date: Fri, 11 Apr 2025 18:08:40 +0200 Subject: [PATCH] remove print statements --- jdav_web/members/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jdav_web/members/models.py b/jdav_web/members/models.py index a8b7bfb..cffe0fd 100644 --- a/jdav_web/members/models.py +++ b/jdav_web/members/models.py @@ -1298,8 +1298,7 @@ class Freizeit(CommonModel): # Each day is counted as 1 if total_duration is >= 5 hours, as 0.5 if total_duration is >= 2.5 # otherwise 0 sum_days = sum([h['sum_days'] for h in hours_per_day]) - print(hours_per_day) - print(sum_days) + return sum_days else: return 0