mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +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)
|
||||
|
||||
discordio = request.form.get("discordio", db_guild.discordio)
|
||||
if discordio.strip() == "":
|
||||
if discordio and discordio.strip() == "":
|
||||
discordio = None
|
||||
db_guild.discordio = discordio
|
||||
db.session.commit()
|
||||
|
Loading…
Reference in New Issue
Block a user