Merge pull request #645 from tundebabzy/644

fix: 10th lesson access issue
This commit is contained in:
Jannat Patel
2023-10-27 18:45:00 +05:30
committed by GitHub
2 changed files with 9 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ def get_lesson_details(chapter):
],
as_dict=True,
)
lesson_details.number = flt(f"{chapter.idx}.{row.idx}")
lesson_details.number = f"{chapter.idx}.{row.idx}"
lesson_details.icon = get_lesson_icon(lesson_details.body)
lessons.append(lesson_details)
return lessons