Skip to content
Snippets Groups Projects
Commit 2bf902c4 authored by Felix Blanke's avatar Felix Blanke
Browse files

Fix: add current slot to new block to not discard it.

Co-authored by: Lorenzo Conti
parent bdfce60b
No related branches found
No related tags found
1 merge request!2Merge AK category slots
Pipeline #236655 passed
......@@ -363,7 +363,7 @@ class Event(models.Model):
else:
# no overlap at all -> new block
all_blocks.append(current_block)
current_block = []
current_block = [slot]
if current_block:
all_blocks.append(current_block)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment