1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[lynda] PEP 8

This commit is contained in:
Sergey M․ 2015-11-06 23:27:38 +06:00
parent ea8ed40b2f
commit ae4ddf9efa

View file

@ -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(