Self hosted FLOSS fitness/workout, nutrition and weight tracker
Simplify comparision
Roland Geider901f5ef586d5
diff --git a/wger/utils/units.py b/wger/utils/units.pyindex 7ed03fdb4..3e46b87cd 100644--- a/wger/utils/units.py+++ b/wger/utils/units.py@@ -54,7 +54,7 @@ class AbstractWeight(object):weight /= Decimal(16.0)self.weight = weight- self.is_kg = True if mode in ('kg', 'g') else False+ self.is_kg = mode in ('kg', 'g')def __add__(self, other):'''