summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/coverage/config.py b/coverage/config.py
index 3fa64495..75da20fd 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -440,4 +440,10 @@ def read_coverage_config(config_file, **kwargs):
# 4) from constructor arguments:
config.from_args(**kwargs)
+ # Once all the config has been collected, there's a little post-processing
+ # to do.
+ config.data_file = os.path.expanduser(config.data_file)
+ config.html_dir = os.path.expanduser(config.html_dir)
+ config.xml_output = os.path.expanduser(config.xml_output)
+
return config_file, config