diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-01-19 13:19:51 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-01-19 13:19:51 +0100 |
| commit | fa47da9696cedae1bb804fc266d878a96802f1ef (patch) | |
| tree | 5bdca2ff5c9a316a55a535c77d0b831b21b5ed2c | |
| parent | a18cacf682aa7f96e3402da0a245e2477d08958d (diff) | |
fix python3 default i3status.conf file path detection
| -rwxr-xr-x | py3status/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py index f1fcbda..896787c 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -1073,9 +1073,11 @@ class Py3statusWrapper(): os.environ.get('XDG_CONFIG_DIRS', '/etc/xdg') ) ] - i3status_config_files = filter( - os.path.isfile, - i3status_config_files + i3status_config_files = list( + filter( + os.path.isfile, + i3status_config_files + ) ) # if none of the default files exists, we will default |
