diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-12-08 03:52:44 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-12-08 03:52:44 +0100 |
commit | 123ecac86250f7f3dd13a3f94758ed997a48cace (patch) | |
tree | 430de0551946968fbd8b92f35bc8fe192c732894 /examples/plugins/ipaddress | |
parent | use curl instead of wget (diff) | |
download | xpybar-123ecac86250f7f3dd13a3f94758ed997a48cace.tar.gz xpybar-123ecac86250f7f3dd13a3f94758ed997a48cace.tar.bz2 xpybar-123ecac86250f7f3dd13a3f94758ed997a48cace.tar.xz |
proper multi-home support in ipaddress
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | examples/plugins/ipaddress | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugins/ipaddress b/examples/plugins/ipaddress index f29fdb4..96572ee 100644 --- a/examples/plugins/ipaddress +++ b/examples/plugins/ipaddress @@ -22,7 +22,7 @@ def start(): def redraw(): addr = IPAddress('lo') - text = 'Addr: %s' % ', '.join(addr.public().keys()) + text = 'Addr: %s' % ', '.join(addr for addr in addr.public().keys() if addr is not None) bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) |