aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-02-26 12:15:02 -0500
committerJesús <heckyel@hyperbola.info>2021-02-26 12:15:02 -0500
commit4a5b336deb29154e416eeea2898c5846a648aaf1 (patch)
treef40cc065bddd828c94937822583a903dbae17e8d /youtube
parent1ec02199ea002827a787d3ec16b9f2f672396a95 (diff)
downloadyt-local-4a5b336deb29154e416eeea2898c5846a648aaf1.tar.lz
yt-local-4a5b336deb29154e416eeea2898c5846a648aaf1.tar.xz
yt-local-4a5b336deb29154e416eeea2898c5846a648aaf1.zip
minor fix
Diffstat (limited to 'youtube')
-rw-r--r--youtube/comments.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/comments.py b/youtube/comments.py
index a4a4f73..d47c826 100644
--- a/youtube/comments.py
+++ b/youtube/comments.py
@@ -107,7 +107,8 @@ def post_process_comments_info(comments_info):
print('Error setting ctoken value:')
print(err)
comment['replies_url'] = None
- comment['replies_url'] = concat_or_none(util.URL_ORIGIN,
+ comment['replies_url'] = concat_or_none(
+ util.URL_ORIGIN,
'/comments?replies=1&ctoken=' + ctoken)
if reply_count == 0:
@@ -117,7 +118,6 @@ def post_process_comments_info(comments_info):
else:
comment['view_replies_text'] = str(reply_count) + ' replies'
-
if comment['like_count'] == 1:
comment['likes_text'] = '1 like'
else: