aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-31 01:09:21 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-31 01:09:21 +0600
commit3092fc4035dd3a0841a92227e9bd80b7b9e4d871 (patch)
treed29d3549423d4e9a11864cabfe8d10eac435b2d9 /youtube_dl/extractor
parentf5bc4b5f95393b5fc83f5c64d44ee78093f9d798 (diff)
[udemy] Fix typo
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/udemy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py
index 59832b1ec..ce7e211fc 100644
--- a/youtube_dl/extractor/udemy.py
+++ b/youtube_dl/extractor/udemy.py
@@ -147,7 +147,7 @@ class UdemyIE(InfoExtractor):
# Error could possibly mean we are not enrolled in the course
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 403:
self._enroll_course(webpage, course_id)
- lecture_id = self._download_lecture(course_id, lecture_id)
+ lecture = self._download_lecture(course_id, lecture_id)
else:
raise