summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/coverage/config.py b/coverage/config.py
index ef45ba5a..49d74e7a 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -52,6 +52,7 @@ class CoverageConfig(object):
# Defaults for [html]
self.html_dir = "htmlcov"
+ self.extra_css = None
# Defaults for [xml]
self.xml_output = "coverage.xml"
@@ -125,6 +126,8 @@ class CoverageConfig(object):
# [html]
if cp.has_option('html', 'directory'):
self.html_dir = cp.get('html', 'directory')
+ if cp.has_option('html', 'extra_css'):
+ self.extra_css = cp.get('html', 'extra_css')
# [xml]
if cp.has_option('xml', 'output'):