mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 16:24:57 +02:00
Fix default segment attribute value
This commit is contained in:
parent
59a760c3c6
commit
20892b14d8
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user