Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

No need to set the status for images anymore

Roland Geider7c9b0bfdeb74
diff --git a/wger/exercises/management/commands/download-exercise-images.py b/wger/exercises/management/commands/download-exercise-images.py
index e84a258b8..e648a1027 100644
--- a/wger/exercises/management/commands/download-exercise-images.py
+++ b/wger/exercises/management/commands/download-exercise-images.py
@@ -42,8 +42,7 @@ from wger.exercises.models import (
ExerciseImage,
)
-
-IMAGE_API = "{0}/api/v2/exerciseimage/?status=2"
+IMAGE_API = "{0}/api/v2/exerciseimage/"
class Command(BaseCommand):
@@ -70,7 +69,7 @@ class Command(BaseCommand):
dest='remote_url',
default='https://wger.de',
help='Remote URL to fetch the exercises from (default: '
- 'https://wger.de)'
+ 'https://wger.de)'
)
def handle(self, **options):