fix(aurora): fixed pylint error
This commit is contained in:
parent
032f823717
commit
7edbaa7c41
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ class Aurora(commands.Cog):
|
||||||
|
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
except json.JSONDecodeError as e:
|
except json.JSONDecodeError as e:
|
||||||
await interaction.followup.send(content=error(f"An error occured while exporting the moderation history.\nError:\n") + box(e, 'py'), ephemeral=ephemeral)
|
await interaction.followup.send(content=error("An error occured while exporting the moderation history.\nError:\n") + box(e, 'py'), ephemeral=ephemeral)
|
||||||
cursor.close()
|
cursor.close()
|
||||||
database.close()
|
database.close()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue