Self hosted FLOSS fitness/workout, nutrition and weight tracker
Formatting
Roland Geider7a9403159385
diff --git a/wger/exercises/management/commands/delete-unused-exercises.py b/wger/exercises/management/commands/delete-unused-exercises.pyindex 718448f84..0f40b5783 100644--- a/wger/exercises/management/commands/delete-unused-exercises.py+++ b/wger/exercises/management/commands/delete-unused-exercises.py@@ -21,7 +21,10 @@ from django.core.management.base import BaseCommand# wgerfrom wger.core.models import Languagefrom wger.exercises.models import ExerciseBase-from wger.manager.models import Setting, WorkoutLog+from wger.manager.models import (+ Setting,+ WorkoutLog,+)from wger.utils.constants import ENGLISH_SHORT_NAMEdiff --git a/wger/exercises/management/commands/exercises-health-check.py b/wger/exercises/management/commands/exercises-health-check.pyindex f6b7c81e3..bf47658d9 100644--- a/wger/exercises/management/commands/exercises-health-check.py+++ b/wger/exercises/management/commands/exercises-health-check.py@@ -98,7 +98,6 @@ class Command(BaseCommand):f' Deleting translation {exercise.uuid} for language ID {exercise.language_id}...')-exercise.delete()self.stdout.write(f' Deleting translation {exercise.uuid} for language ID {exercise.language_id}...'diff --git a/wger/exercises/management/commands/read-exercise-cleanup.py b/wger/exercises/management/commands/read-exercise-cleanup.pyindex 9a2a3e30d..6d2cb29ed 100644--- a/wger/exercises/management/commands/read-exercise-cleanup.py+++ b/wger/exercises/management/commands/read-exercise-cleanup.py@@ -249,8 +249,7 @@ class Command(BaseCommand):csv_file = open('exercises_cleanup_duplicates.csv', 'r', newline='')file_reader = csv.DictReader(csv_file)self.stdout.write(- self.style.- WARNING(f'---> Deleting duplicate bases and translations now...')+ self.style.WARNING(f'---> Deleting duplicate bases and translations now...'))for row in file_reader: