log: show which courses will be downloaded

master
TiynGER 4 years ago
parent 92ee51e56c
commit 9d08df462b

@ -92,6 +92,7 @@ class Studip:
curr_ind = ord_sems.index(semester) curr_ind = ord_sems.index(semester)
if start_ind <= curr_ind <= end_ind: if start_ind <= curr_ind <= end_ind:
course_title = course['title'] course_title = course['title']
log.info(course_title + " will be downloaded")
course_id = course['course_id'] course_id = course['course_id']
course_list[course_id] = course_title course_list[course_id] = course_title
return course_list return course_list

Loading…
Cancel
Save