From 9b7327cb9b71cee57d6de42817c56e6af8a37b5f Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Thu, 24 Jul 2014 09:56:19 +0200 Subject: minor coding style wrt issue #38 --- py3status/__init__.py | 4 ++-- 1 file 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 } -- cgit v1.3