fix(aurora): fixed pylint errors in importers
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 42s
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 42s
This commit is contained in:
parent
8129fee36a
commit
032f823717
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ class ImportAuroraView(ui.View):
|
||||||
await interaction.edit_original_response(content="Import complete.")
|
await interaction.edit_original_response(content="Import complete.")
|
||||||
if failed_cases:
|
if failed_cases:
|
||||||
await interaction.edit_original_response(
|
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)
|
@ui.button(label="No", style=ButtonStyle.danger)
|
||||||
|
|
|
@ -137,7 +137,7 @@ class ImportGalacticBotView(ui.View):
|
||||||
|
|
||||||
await interaction.edit_original_response(content="Import complete.")
|
await interaction.edit_original_response(content="Import complete.")
|
||||||
if failed_cases:
|
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)
|
@ui.button(label="No", style=ButtonStyle.danger)
|
||||||
async def import_button_n(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument
|
async def import_button_n(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument
|
||||||
|
|
Loading…
Reference in a new issue