Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alesanchezr authored Nov 4, 2024
1 parent f88ced0 commit 6a7a31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breathecode/admissions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,7 @@ def get(self, request, syllabus_id, version, academy_id):
day.get("teacher_instructions", ""),
]
)
cumulative_days += day["duration_in_days"]
cumulative_days += day["duration_in_days"] if "duration_in_days" in day else 1
return response


Expand Down

0 comments on commit 6a7a31d

Please sign in to comment.