mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-03 23:37:09 +01:00 
			
		
		
		
	Remove debug print statements from user and admin blueprints
This commit is contained in:
		@@ -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,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user