diff options
author | Michael Barrett <loki77@gmail.com> | 2014-12-02 11:32:45 -0800 |
---|---|---|
committer | Michael Barrett <loki77@gmail.com> | 2014-12-02 11:32:45 -0800 |
commit | 3c7c12ec28bbba6f2244f9498a31d0b40bfde263 (patch) | |
tree | cae9c935332e42d83641232c6f46d0fe199fe6ff | |
parent | 4621e12f84fbbd5fc4065ebf83e0759bf0d448f6 (diff) | |
download | dotfiles-3c7c12ec28bbba6f2244f9498a31d0b40bfde263.tar.gz dotfiles-3c7c12ec28bbba6f2244f9498a31d0b40bfde263.tar.bz2 dotfiles-3c7c12ec28bbba6f2244f9498a31d0b40bfde263.zip |
Expands ~'s in config file path
-rw-r--r-- | dotfiles/cli.py | 3 |
1 files changed, 1 insertions, 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() |