aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/comments.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/comments.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/comments.py')
-rw-r--r--youtube/comments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/comments.py b/youtube/comments.py
index 4485ad2..3b1ef86 100644
--- a/youtube/comments.py
+++ b/youtube/comments.py
@@ -221,7 +221,7 @@ def post_process_comments_info(comments_info):
def video_comments(video_id, sort=0, offset=0, lc='', secret_key=''):
- if settings.enable_comments:
+ if settings.comments_mode:
comments_info = parse_comments_polymer(request_comments(make_comment_ctoken(video_id, sort, offset, lc, secret_key)))
post_process_comments_info(comments_info)