From fff737cec3b9cd681751243f473e5a6dfca6aca3 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Thu, 14 Sep 2017 05:23:28 +0000 Subject: [PATCH] Remove debug print statements from user and admin blueprints --- webapp/titanembeds/blueprints/admin/admin.py | 1 - webapp/titanembeds/blueprints/user/user.py | 1 - webapp/titanembeds/static/js/usercss.js | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp/titanembeds/blueprints/admin/admin.py b/webapp/titanembeds/blueprints/admin/admin.py index 0f93685..1b3c94b 100644 --- a/webapp/titanembeds/blueprints/admin/admin.py +++ b/webapp/titanembeds/blueprints/admin/admin.py @@ -178,7 +178,6 @@ def update_administrate_guild(guild_id): if webhook_icon != None and webhook_icon.strip() == "": webhook_icon = None db_guild.webhook_icon = webhook_icon - print(webhook_icon) db.session.commit() return jsonify( id=db_guild.id, diff --git a/webapp/titanembeds/blueprints/user/user.py b/webapp/titanembeds/blueprints/user/user.py index a2735ce..42ba9e1 100644 --- a/webapp/titanembeds/blueprints/user/user.py +++ b/webapp/titanembeds/blueprints/user/user.py @@ -129,7 +129,6 @@ def edit_custom_css_get(css_id): if css.user_id != session['user_id']: abort(403) variables = css.css_variables - print(variables) if variables: variables = json.loads(variables) premium_css_count = count_user_premium_css() diff --git a/webapp/titanembeds/static/js/usercss.js b/webapp/titanembeds/static/js/usercss.js index 8e6fa33..31d7f47 100644 --- a/webapp/titanembeds/static/js/usercss.js +++ b/webapp/titanembeds/static/js/usercss.js @@ -2,6 +2,7 @@ (function () { if($("#css_editor").length != 0) { var editor = ace.edit("css_editor"); + debugger; } function postForm() {