Skip to content
Snippets Groups Projects
Verified Commit abab8cf3 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: nitpicking

parent b62c2d76
No related branches found
No related tags found
No related merge requests found
Pipeline #8258 passed
...@@ -849,7 +849,7 @@ def get_timerange_timeslot_entries( ...@@ -849,7 +849,7 @@ def get_timerange_timeslot_entries(
if not include_virtual: if not include_virtual:
return [make_timeslot_entry(timeslot=timeslot) for timeslot in timeslots] return [make_timeslot_entry(timeslot=timeslot) for timeslot in timeslots]
if timeslots is None: if not timeslots:
return [] return []
timeslot_entries = [] timeslot_entries = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment