fix(moderation): whatever i just wont close the cursor
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
All checks were successful
Pylint / Pylint (push) Successful in 1m13s
This commit is contained in:
parent
e38df7aefe
commit
9d10e8a635
1 changed files with 0 additions and 1 deletions
|
@ -163,7 +163,6 @@ class Moderation(commands.Cog):
|
|||
cursor.execute(insert_query, insert_values)
|
||||
database.commit()
|
||||
self.logger.info("MySQL Table (moderation_%s) created for %s (%s)", guild.id, guild.name, guild.id)
|
||||
cursor.close()
|
||||
database.close()
|
||||
|
||||
async def check_conf(self, config: list):
|
||||
|
|
Loading…
Reference in a new issue