minor fix

This commit is contained in:
Jesús 2021-02-26 12:15:02 -05:00
parent 1ec02199ea
commit 4a5b336deb
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -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: