aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/post_comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/post_comment.py')
-rw-r--r--youtube/post_comment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/post_comment.py b/youtube/post_comment.py
index 26899c2..c4ffb9d 100644
--- a/youtube/post_comment.py
+++ b/youtube/post_comment.py
@@ -128,11 +128,11 @@ def delete_comment():
@yt_app.route('/comment_delete_success')
def comment_delete_success():
- return 'Successfully deleted comment'
+ return flask.render_template('status.html', title='Success', message='Successfully deleted comment')
@yt_app.route('/comment_delete_fail')
def comment_delete_fail():
- return 'Failed to delete comment'
+ return flask.render_template('status.html', title='Error', message='Failed to delete comment')
@yt_app.route('/post_comment', methods=['POST'])
@yt_app.route('/comments', methods=['POST'])