From f68e51969534ef4f3cf499394e4e4502e52d1b05 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Jun 2023 06:12:09 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/character/management/commands/import_profiles.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/character/management/commands/import_profiles.py b/src/character/management/commands/import_profiles.py index f7b8001..6616d9d 100644 --- a/src/character/management/commands/import_profiles.py +++ b/src/character/management/commands/import_profiles.py @@ -73,8 +73,7 @@ class Command(BaseCommand): notes += f"\n\n# {title}\n{text}" except Exception: self.stdout.write(f"No {field_name} found for {name}") - notes = notes.strip() - return notes + return notes.strip() def get_mana_max_compute(self, name) -> Profile.ManaMax: if name in ["Barde", "Druide", "Forgesort", "PrĂȘtre"]: