From 084739b7a7c4cfe276a59b24873c68abee7a32b9 Mon Sep 17 00:00:00 2001 From: "Andreas (@xAndy) Zimmermann" Date: Sat, 21 May 2022 19:23:58 +0200 Subject: [PATCH] black --- shiftregister/signage/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shiftregister/signage/views.py b/shiftregister/signage/views.py index 9d2eeb3..d69f47b 100644 --- a/shiftregister/signage/views.py +++ b/shiftregister/signage/views.py @@ -65,8 +65,8 @@ def terminal(request): help_wanted = Q(required_helpers__gt=F("reg_count")) | Q(required_helpers=0) & Q( room__required_helpers__gt=F("reg_count") ) - day = (timezone.now()-timedelta(hours=6)) - day = datetime.combine(day, time.min) + day = timezone.now() - timedelta(hours=6) + day = datetime.combine(day, time.min) shifts = ( Shift.with_reg_count() .annotate(