Fix disabled guild not enacting

This commit is contained in:
Jeremy "EndenDragon" Zhang 2020-05-31 13:59:08 -07:00 committed by GitHub
parent b77cc6dee6
commit e9135d2027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ def guild_embed(guild_id):
} }
customcss = get_custom_css() customcss = get_custom_css()
return render_template("embed.html.j2", return render_template("embed.html.j2",
disabled=guild_id in list_disabled_guilds(), disabled=str(guild_id) in list_disabled_guilds(),
login_greeting=get_logingreeting(), login_greeting=get_logingreeting(),
guild_id=guild_id, guild_id=guild_id,
guild=guild_dict, guild=guild_dict,