fix(aurora): fixed pylint error

This commit is contained in:
Seaswimmer 2024-01-05 09:26:53 +00:00
parent 032f823717
commit 7edbaa7c41
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -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