diff --git a/lib/core.py b/lib/core.py index fe659b42..7391651b 100644 --- a/lib/core.py +++ b/lib/core.py @@ -103,7 +103,7 @@ class Segment: ''' if self.parent and self._attr is None: return self.parent.attr - return self._attr if self._attr is not None else 0 + return self._attr if self._attr is not None else False @property def side(self):