diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2014-07-24 09:56:19 +0200 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2014-07-24 09:56:19 +0200 |
| commit | 9b7327cb9b71cee57d6de42817c56e6af8a37b5f (patch) | |
| tree | 29267ffa198c893ec73c361b0acc5d9ea4494eb6 | |
| parent | 9e222414ca20dcab06cbffd56c8ad49f7d08a21a (diff) | |
minor coding style wrt issue #38
| -rwxr-xr-x | py3status/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py index 4d26ca2..4182b7c 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -591,13 +591,13 @@ class Py3statusWrapper(): Create the py3status based on command line options we received. """ # get home path - home_path = '{}{}'.format(os.path.expanduser('~'), '/') + home_path = os.path.expanduser('~') # defaults config = { 'cache_timeout': 60, 'i3status_config_path': '/etc/i3status.conf', - 'include_paths': ['{}{}'.format(home_path, '.i3/py3status/')], + 'include_paths': ['{}/.i3/py3status/'.format(home_path)], 'interval': 1 } |
