Browse Source

[lynda] PEP 8

master
Sergey M․ 9 years ago
parent
commit
ae4ddf9efa
1 changed files with 2 additions and 3 deletions
  1. 5
      youtube_dl/extractor/lynda.py

5
youtube_dl/extractor/lynda.py

@ -227,9 +227,8 @@ class LyndaCourseIE(LyndaBaseIE):
if video.get('HasAccess') is False:
unaccessible_videos += 1
continue
video_id = video.get('ID')
if video_id:
videos.append(video_id)
if video.get('ID'):
videos.append(video['ID'])
if unaccessible_videos > 0:
self._downloader.report_warning(

Loading…
Cancel
Save