Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actionsb084093819a3
diff --git a/wger/nutrition/api/views.py b/wger/nutrition/api/views.pyindex 5e1091b15..d7bc3b755 100644--- a/wger/nutrition/api/views.py+++ b/wger/nutrition/api/views.py@@ -231,9 +231,7 @@ class ImageViewSet(viewsets.ReadOnlyModelViewSet):def get_queryset(self):"""Optimize the queryset"""- return Image.objects.select_related(- 'ingredient'- )+ return Image.objects.select_related('ingredient')class WeightUnitViewSet(viewsets.ReadOnlyModelViewSet):