Skip to content

Commit

Permalink
fix: resolve lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hajorg committed Oct 4, 2023
1 parent 182b1fc commit 063f7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edxval/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ def get_transcript_details_for_course(course_id):

return course_transcripts_data


def get_video_ids_for_course(course_id):
"""
Gets video_ids for a course.
Expand All @@ -787,7 +788,6 @@ def get_video_ids_for_course(course_id):
Returns:
(list): Returns all the edx_video_id's for a course
"""

course_videos = CourseVideo.objects.filter(course_id=course_id).select_related('video')
video_ids = [cv.video.edx_video_id for cv in course_videos]
return video_ids
Expand Down

0 comments on commit 063f7f7

Please sign in to comment.