Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Automatic linting

Github-actionse612f2d0bb6c
diff --git a/wger/nutrition/models/ingredient.py b/wger/nutrition/models/ingredient.py
index 2f533fbc4..6a0aa921b 100644
--- a/wger/nutrition/models/ingredient.py
+++ b/wger/nutrition/models/ingredient.py
@@ -59,6 +59,7 @@ from wger.utils.requests import wger_user_agent
# Local
from .ingredient_category import IngredientCategory
+
logger = logging.getLogger(__name__)
diff --git a/wger/urls.py b/wger/urls.py
index c3f0a9969..9e83e30a9 100644
--- a/wger/urls.py
+++ b/wger/urls.py
@@ -52,6 +52,7 @@ from wger.nutrition.sitemap import NutritionSitemap
from wger.utils.generic_views import TextTemplateView
from wger.weight.api import views as weight_api_views
+
#
# REST API
#
@@ -208,7 +209,9 @@ router.register(
#
# Sitemaps
#
-sitemaps = {'exercises': ExercisesSitemap, } # 'nutrition': NutritionSitemap}
+sitemaps = {
+ 'exercises': ExercisesSitemap,
+} # 'nutrition': NutritionSitemap}
#
# The actual URLs