Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Automatic linting

Github-actionsa4d50663d021
diff --git a/wger/exercises/sync.py b/wger/exercises/sync.py
index a54a29962..6ce24eb20 100644
--- a/wger/exercises/sync.py
+++ b/wger/exercises/sync.py
@@ -367,11 +367,7 @@ def download_exercise_images(
except ExerciseImage.DoesNotExist:
print_fn(' Image not found in local DB, creating now...')
retrieved_image = requests.get(image_data['image'], headers=headers)
- image = ExerciseImage.from_json(
- exercise_base,
- retrieved_image,
- image_data
- )
+ image = ExerciseImage.from_json(exercise_base, retrieved_image, image_data)
# Temporary files on Windows don't support the delete attribute
if os.name == 'nt':