Remove debug print statements from user and admin blueprints

This commit is contained in:
Jeremy Zhang 2017-09-14 05:23:28 +00:00
parent 7803d83ad0
commit fff737cec3
3 changed files with 1 additions and 2 deletions

View File

@ -178,7 +178,6 @@ def update_administrate_guild(guild_id):
if webhook_icon != None and webhook_icon.strip() == "": if webhook_icon != None and webhook_icon.strip() == "":
webhook_icon = None webhook_icon = None
db_guild.webhook_icon = webhook_icon db_guild.webhook_icon = webhook_icon
print(webhook_icon)
db.session.commit() db.session.commit()
return jsonify( return jsonify(
id=db_guild.id, id=db_guild.id,

View File

@ -129,7 +129,6 @@ def edit_custom_css_get(css_id):
if css.user_id != session['user_id']: if css.user_id != session['user_id']:
abort(403) abort(403)
variables = css.css_variables variables = css.css_variables
print(variables)
if variables: if variables:
variables = json.loads(variables) variables = json.loads(variables)
premium_css_count = count_user_premium_css() premium_css_count = count_user_premium_css()

View File

@ -2,6 +2,7 @@
(function () { (function () {
if($("#css_editor").length != 0) { if($("#css_editor").length != 0) {
var editor = ace.edit("css_editor"); var editor = ace.edit("css_editor");
debugger;
} }
function postForm() { function postForm() {