Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Obviously start with a not processed file

Roland Geider9ab9fda921ab
diff --git a/wger/exercises/management/commands/read-exercise-cleanup.py b/wger/exercises/management/commands/read-exercise-cleanup.py
index fb4945177..aa8c8eb83 100644
--- a/wger/exercises/management/commands/read-exercise-cleanup.py
+++ b/wger/exercises/management/commands/read-exercise-cleanup.py
@@ -156,8 +156,7 @@ class Command(BaseCommand):
# but that is too much work for this script that will be used only once.
if base_video and options['process_videos']:
for video_name in base_video.split('/'):
- video_processed = True
-
+ video_processed = False
for extension in VIDEO_EXTENSIONS:
path = VIDEO_PATH / pathlib.Path(video_name.strip() + extension)