From 244a24f9cf295306327e99340fe6b163cf3c5e90 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Tue, 27 Sep 2016 04:20:46 -0400 Subject: [PATCH] Attempting to fix a bug in the /etc path for configs. --- src/apex/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apex/cli.py b/src/apex/cli.py index 962d195..f1f0e59 100644 --- a/src/apex/cli.py +++ b/src/apex/cli.py @@ -60,7 +60,7 @@ def find_config(config_paths, verbose): rc_file = '.apexrc' cur_path = os.path.join(os.curdir, config_file) home_path = os.path.join(os.path.expanduser('~'), rc_file) - etc_path = os.path.join('etc', config_file) + etc_path = os.path.join('', 'etc', config_file) if config_paths is None: config_paths = [cur_path, home_path, etc_path] elif isinstance(config_paths, str): -- GitLab