diff options
author | Victor Häggqvist <[email protected]> | 2015-05-18 21:45:48 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2015-05-18 21:45:48 +0200 |
commit | ca471b0c25da050b97784ab8f3714c22826541f3 (patch) | |
tree | a6c4e8f12aedb69b34d193767b222c7abba5c1e3 /xboomx/config.py | |
parent | a7e962ffd1db74c57587e80232fa23345abec1d8 (diff) |
join paths
Diffstat (limited to 'xboomx/config.py')
-rw-r--r-- | xboomx/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xboomx/config.py b/xboomx/config.py index a98ef03..880d638 100644 --- a/xboomx/config.py +++ b/xboomx/config.py @@ -5,7 +5,7 @@ import logging def load_config(): try: - with open(os.getenv("HOME") + "/.xboomx/config") as config_file: + with open(os.path.join(os.getenv("HOME"), ".xboomx/config")) as config_file: return json.loads('\n'.join(config_file.readlines())) except: logging.error("Failed to load config file") |