Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix string error when name has unicode characters
Roland Geidercf16378b2cc9
diff --git a/wger/nutrition/models.py b/wger/nutrition/models.pyindex bbc4530a1..7ba38f20e 100644--- a/wger/nutrition/models.py+++ b/wger/nutrition/models.py@@ -332,7 +332,7 @@ class WeightUnit(models.Model):'''Return a more human-readable representation'''- return "{0}".format(self.name)+ return u"{0}".format(self.name)def get_owner_object(self):'''