From abab8cf34e2e9e0eb08b6e141af40cdafa491c68 Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Mon, 17 Jun 2024 19:30:36 -0400 Subject: [PATCH] fix: nitpicking --- program/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/services.py b/program/services.py index 8fc245c5..6789f618 100644 --- a/program/services.py +++ b/program/services.py @@ -849,7 +849,7 @@ def get_timerange_timeslot_entries( if not include_virtual: return [make_timeslot_entry(timeslot=timeslot) for timeslot in timeslots] - if timeslots is None: + if not timeslots: return [] timeslot_entries = [] -- GitLab