diff options
author | Karl-Aksel Puulmann <macobo@users.noreply.github.com> | 2015-06-23 08:42:12 +0300 |
---|---|---|
committer | Karl-Aksel Puulmann <macobo@users.noreply.github.com> | 2015-06-23 08:42:12 +0300 |
commit | 77a7991db1a084da4649aebbaf45f583d2a30c94 (patch) | |
tree | 4a72e4fe314538e5b7c76a700c6f7a5b149f9577 | |
parent | 63c45121abf9afa230852d6d21d774f324d91963 (diff) | |
parent | 5dc20b248f4e0c5f93b6aa406238920b72733b9b (diff) |
Merge pull request #261 from dbcli/amjith/config_obj_bug_fix
Assign a filename to the config obj.
-rw-r--r-- | pgcli/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pgcli/config.py b/pgcli/config.py index 36a06c92..6f5ff21a 100644 --- a/pgcli/config.py +++ b/pgcli/config.py @@ -6,6 +6,7 @@ def load_config(usr_cfg, def_cfg=None): cfg = ConfigObj() cfg.merge(ConfigObj(def_cfg, interpolation=False)) cfg.merge(ConfigObj(expanduser(usr_cfg), interpolation=False)) + cfg.filename = expanduser(usr_cfg) return cfg |