Skip to content
Snippets Groups Projects
Verified Commit 668c111b authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove debug prints

parent a0e2fe1e
No related branches found
No related tags found
1 merge request!36Draft: Resolve "[New data model] PDF export for "regular" timetable"
......@@ -24,7 +24,6 @@ export default defineComponent({
lessonsGroup: {
query: lessonsGroup,
variables() {
console.log(this.timeGrid, "TIMEGRID");
return {
timeGrid: this.timeGrid.id,
group: this.id,
......
......@@ -41,15 +41,6 @@ def build_timetable(
# Sort lesson periods in a dict
for lesson in lessons:
print(
lesson.subject,
Slot.objects.filter(
time_grid=time_grid,
weekday=lesson.slot_start.weekday,
time_start__gte=lesson.slot_start.time_start,
time_end__lte=lesson.slot_end.time_end,
).not_instance_of(BreakSlot),
)
for slot in Slot.objects.filter(
time_grid=time_grid,
weekday=lesson.slot_start.weekday,
......@@ -97,7 +88,6 @@ def build_timetable(
col = {"type": "break", "col": supervisions_per_slot.get(actual_slot)}
else:
print(lesson_periods_per_slot[actual_slot])
col = {
"type": "period",
"col": (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment