aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-06-21 21:59:50 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-06-21 21:59:50 -0700
commit05de30454852c6f55f33c8e8c0ab948bf2c590c2 (patch)
treee9013b8577304b09cd02ef6cde1acd84e09ec17e
parent02962df0526cf265965c442bf9a261ceba55864e (diff)
downloadyt-local-05de30454852c6f55f33c8e8c0ab948bf2c590c2.tar.lz
yt-local-05de30454852c6f55f33c8e8c0ab948bf2c590c2.tar.xz
yt-local-05de30454852c6f55f33c8e8c0ab948bf2c590c2.zip
Fix get_subtitle_sources function
-rw-r--r--youtube/watch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index 818abf2..1f7a352 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -82,7 +82,7 @@ def get_subtitle_sources(info):
default_found = True
default = source
else:
- result.append(source)
+ sources.append(source)
break
# Put it at the end to avoid browser bug when there are too many languages