mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
parent
137ae5f990
commit
ca723aafaa
@ -183,6 +183,8 @@ class ExternalIpSegment(ThreadedSegment):
|
||||
self.ip = ip
|
||||
|
||||
def render(self):
|
||||
if not hasattr(self, 'ip'):
|
||||
return None
|
||||
return [{'contents': self.ip, 'divider_highlight_group': 'background:divider'}]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user