From 3c7c12ec28bbba6f2244f9498a31d0b40bfde263 Mon Sep 17 00:00:00 2001 From: Michael Barrett Date: Tue, 2 Dec 2014 11:32:45 -0800 Subject: Expands ~'s in config file path --- dotfiles/cli.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotfiles/cli.py b/dotfiles/cli.py index 4b9a85f..b0e2ea9 100644 --- a/dotfiles/cli.py +++ b/dotfiles/cli.py @@ -143,9 +143,8 @@ def parse_args(): def parse_config(config_file): - parser = configparser.SafeConfigParser() - parser.read(config_file) + parser.read(os.path.expanduser(config_file)) opts = dict() -- cgit v1.2.3