aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-01 00:28:51 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-01 00:28:51 -0700
commitba0809b965fdf19190fc4a5f8ddee5f6ae9cb905 (patch)
tree0d4d5e17447c289ba052c025c735b5e0eb76ce4b /youtube/watch.py
parent865e5a6bce786824add16a852043f3a36cdbb630 (diff)
downloadyt-local-ba0809b965fdf19190fc4a5f8ddee5f6ae9cb905.tar.lz
yt-local-ba0809b965fdf19190fc4a5f8ddee5f6ae9cb905.tar.xz
yt-local-ba0809b965fdf19190fc4a5f8ddee5f6ae9cb905.zip
rename enable_comments amd enable_related_videos
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index e324115..5487dd4 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -170,7 +170,7 @@ def get_watch_page():
upload_day = info["upload_date"][6:8]
upload_date = upload_month + "/" + upload_day + "/" + upload_year
- if settings.enable_related_videos:
+ if settings.related_videos_mode:
related_videos = get_related_items(info)
else:
related_videos = []