Skip to content

Commit

Permalink
修复[BUG](#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueli924 committed Nov 15, 2023
1 parent 86bb34b commit f36c02b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def init_config():
for course in all_course:
if course["courseId"] in course_list:
course_task.append(course)
if not course_task:
course_task = all_course
# 开始遍历要学习的课程列表
logger.info(f"课程列表过滤完毕,当前课程任务数量: {len(course_task)}")
for course in course_task:
Expand Down

0 comments on commit f36c02b

Please sign in to comment.