Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix import

Roland Geider2c39bff40611
diff --git a/wger/exercises/signals.py b/wger/exercises/signals.py
index 5b37ea664..7bee3350e 100644
--- a/wger/exercises/signals.py
+++ b/wger/exercises/signals.py
@@ -14,9 +14,10 @@
#
# You should have received a copy of the GNU Affero General Public License
-# Django
+# Standard Library
import pathlib
+# Django
from django.db.models.signals import (
post_delete,
pre_save,
@@ -30,8 +31,8 @@ from easy_thumbnails.signals import saved_file
# wger
from wger.exercises.models import (
+ ExerciseImage,
ExerciseVideo,
- ExerciseImage
)
diff --git a/wger/exercises/views/videos.py b/wger/exercises/views/videos.py
index 96ba4df80..664ea05f1 100644
--- a/wger/exercises/views/videos.py
+++ b/wger/exercises/views/videos.py
@@ -37,15 +37,12 @@ from django.views.generic import (
)
# wger
-from utils.constants import DEFAULT_LICENSE_ID
-from wger.exercises.forms import (
- ExerciseImageForm,
- ExerciseVideoForm,
-)
+from wger.exercises.forms import ExerciseVideoForm
from wger.exercises.models import (
Exercise,
ExerciseVideo,
)
+from wger.utils.constants import DEFAULT_LICENSE_ID
from wger.utils.generic_views import (
WgerDeleteMixin,
WgerFormMixin,