mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Fix typo
Discordio can be none
This commit is contained in:
parent
a4ed38e59d
commit
c528bd399b
@ -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