From 20892b14d8f01ac2bbb512a2b68d59428d2652d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Thu, 8 Nov 2012 14:05:16 +0100 Subject: [PATCH] Fix default segment attribute value --- lib/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):