diff --git a/youtube/account_functions.py b/youtube/account_functions.py index 9dd3d10..b3c9541 100644 --- a/youtube/account_functions.py +++ b/youtube/account_functions.py @@ -93,12 +93,7 @@ def post_comment(query_string, fields): return comments.get_comments_page(query_string) else: _post_comment(fields['comment_text'][0], fields['video_id'][0], token, cookie_data) - return common.yt_basic_template.substitute( - page_title = "Success", - style = '', - header = common.get_header(), - page = 'Comment sucessfully posted', - ) + return comments.get_comments_page('ctoken=' + comments.make_comment_ctoken(video_id, sort=1)) def get_post_comment_page(query_string): @@ -120,7 +115,7 @@ textarea{ grid-column:2; }''' page = '''