Self hosted FLOSS fitness/workout, nutrition and weight tracker
No need to save the image to a variable
Roland Geider9fd5b9052abd
diff --git a/wger/exercises/management/commands/download-exercise-images.py b/wger/exercises/management/commands/download-exercise-images.pyindex 3dd40a1d6..dba82261a 100644--- a/wger/exercises/management/commands/download-exercise-images.py+++ b/wger/exercises/management/commands/download-exercise-images.py@@ -109,7 +109,7 @@ class Command(BaseCommand):continuetry:- image = ExerciseImage.objects.get(uuid=image_uuid)+ ExerciseImage.objects.get(uuid=image_uuid)self.stdout.write(' Image already present locally, skipping...')continueexcept ExerciseImage.DoesNotExist: