From 8d2ed255d40e16557f5daa497a62cee437e9dca5 Mon Sep 17 00:00:00 2001 From: Philip Wellnitz Date: Wed, 18 Apr 2018 13:53:47 +0200 Subject: [PATCH] bfs --- powerline/segments/i3wm.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powerline/segments/i3wm.py b/powerline/segments/i3wm.py index 3d60f6eb2..95821fa19 100644 --- a/powerline/segments/i3wm.py +++ b/powerline/segments/i3wm.py @@ -63,7 +63,7 @@ def get_icon(w, separator, icons, show_multiple_icons): for key in icons: if not icons[key] or len(icons[key]) < 1: continue - if any(key in win.window_class for win in wins): + if any(key in win.window_class for win in wins if win.window_class): result += separator + icons[key] cnt += 1 if not show_multiple_icons and cnt > 1: diff --git a/setup.py b/setup.py index e5e58b2a8..677ca6eb9 100755 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ def compile_client(): setup( name='powerline-status-i3', - version='1.7.11', + version='1.7.12', description='The ultimate statusline/prompt utility. A fork containing more features for the i3 window manager.', long_description=README, classifiers=[