fix(aurora): fixed pylint errors in importers

This commit is contained in:
Seaswimmer 2024-01-05 09:26:01 +00:00
parent 8129fee36a
commit 032f823717
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ class ImportAuroraView(ui.View):
await interaction.edit_original_response(content="Import complete.")
if failed_cases:
await interaction.edit_original_response(
content=f"Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases)
content="Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases)
)
@ui.button(label="No", style=ButtonStyle.danger)

View file

@ -137,7 +137,7 @@ class ImportGalacticBotView(ui.View):
await interaction.edit_original_response(content="Import complete.")
if failed_cases:
await interaction.edit_original_response(content=f"Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases))
await interaction.edit_original_response(content="Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases))
@ui.button(label="No", style=ButtonStyle.danger)
async def import_button_n(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument