Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Automatic linting

Github-actions1dc5624b8d3c
diff --git a/wger/nutrition/off.py b/wger/nutrition/off.py
index e79bf63a9..e0611b1b9 100644
--- a/wger/nutrition/off.py
+++ b/wger/nutrition/off.py
@@ -18,17 +18,10 @@ from wger.nutrition.models import Source
from wger.utils.constants import CC_ODBL_LICENSE_ID
from wger.utils.models import AbstractSubmissionModel
-OFF_REQUIRED_TOP_LEVEL = [
- 'product_name',
- 'code',
- 'nutriments'
-]
+
+OFF_REQUIRED_TOP_LEVEL = ['product_name', 'code', 'nutriments']
OFF_REQUIRED_NUTRIMENTS = [
- 'energy-kcal_100g',
- 'proteins_100g',
- 'carbohydrates_100g',
- 'sugars_100g',
- 'fat_100g',
+ 'energy-kcal_100g', 'proteins_100g', 'carbohydrates_100g', 'sugars_100g', 'fat_100g',
'saturated-fat_100g'
]