Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Formatting

Roland Geider808772f82caa
diff --git a/wger/nutrition/models/ingredient.py b/wger/nutrition/models/ingredient.py
index c168ed3e2..3f6769c11 100644
--- a/wger/nutrition/models/ingredient.py
+++ b/wger/nutrition/models/ingredient.py
@@ -54,7 +54,6 @@ from ..consts import ENERGY_FACTOR
from .ingredient_category import IngredientCategory
from .sources import Source
-
logger = logging.getLogger(__name__)
@@ -114,7 +113,10 @@ class Ingredient(AbstractSubmissionModel, AbstractLicenseModel, models.Model):
validators=[MinLengthValidator(3)],
)
- energy = models.IntegerField(verbose_name=_('Energy'), help_text=_('In kcal per 100g'))
+ energy = models.IntegerField(
+ verbose_name=_('Energy'),
+ help_text=_('In kcal per 100g'),
+ )
protein = models.DecimalField(
decimal_places=3,