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.pyindex c168ed3e2..3f6769c11 100644--- a/wger/nutrition/models/ingredient.py+++ b/wger/nutrition/models/ingredient.py@@ -54,7 +54,6 @@ from ..consts import ENERGY_FACTORfrom .ingredient_category import IngredientCategoryfrom .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,