for i, lesson in enumerate(lessons['synthetic']):
prefix = 'Skrocony kurs/%d %s/' % (i, lesson.slug)
lesson.add_to_zip(zipf, student, prefix)
for i, lesson in enumerate(lessons['synthetic']):
prefix = 'Skrocony kurs/%d %s/' % (i, lesson.slug)
lesson.add_to_zip(zipf, student, prefix)