From 032f823717924c81cca55d3851073e633099016e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 5 Jan 2024 09:26:01 +0000 Subject: [PATCH] fix(aurora): fixed pylint errors in importers --- aurora/importers/aurora.py | 2 +- aurora/importers/galacticbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index 1e9be5e..67e9ad3 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -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) diff --git a/aurora/importers/galacticbot.py b/aurora/importers/galacticbot.py index ea6c424..5d254c1 100644 --- a/aurora/importers/galacticbot.py +++ b/aurora/importers/galacticbot.py @@ -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