mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Merge branch 'master' of github.com:EndenDragon/Titan
This commit is contained in:
commit
dfe463ecaa
@ -199,7 +199,7 @@ def update_administrate_guild(guild_id):
|
|||||||
db_guild.mentions_limit = request.form.get("mentions_limit", db_guild.mentions_limit)
|
db_guild.mentions_limit = request.form.get("mentions_limit", db_guild.mentions_limit)
|
||||||
|
|
||||||
discordio = request.form.get("discordio", db_guild.discordio)
|
discordio = request.form.get("discordio", db_guild.discordio)
|
||||||
if discordio.strip() == "":
|
if discordio and discordio.strip() == "":
|
||||||
discordio = None
|
discordio = None
|
||||||
db_guild.discordio = discordio
|
db_guild.discordio = discordio
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
Loading…
Reference in New Issue
Block a user