From fcbd8ebef6f4b3648f9b04cb8b7788fed4aeb719 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 26 Dec 2018 19:37:15 -0800 Subject: Added account selection to comment boxes --- youtube/post_comment.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'youtube/post_comment.py') diff --git a/youtube/post_comment.py b/youtube/post_comment.py index 305120c..2c9410c 100644 --- a/youtube/post_comment.py +++ b/youtube/post_comment.py @@ -160,18 +160,21 @@ textarea{ } .comment-form{ grid-column:2; + justify-content:start; }''' if parent_id: # comment reply comment_box = comments.comment_box_template.substitute( form_action = common.URL_ORIGIN + '/comments?parent_id=' + parent_id + "&video_id=" + video_id, video_id_input = '', post_text = "Post reply", + options=comments.comment_box_account_options(), ) else: comment_box = comments.comment_box_template.substitute( form_action = common.URL_ORIGIN + '/post_comment', video_id_input = '''''', post_text = "Post comment", + options=comments.comment_box_account_options(), ) page = '''
\n''' + comment_box + '''
\n''' -- cgit v1.2.3