Commit 20cf04c8 authored by Andreas Jung's avatar Andreas Jung

changed default value for 'stylesheet' from 'default.css' to None

to avoid trouble with docutils 0.4.0 (trying to read the file
from the filesystem)
parent cb71db88
......@@ -58,7 +58,7 @@ class Warnings:
def render(src,
writer='html4css1',
report_level=1,
stylesheet='default.css',
stylesheet=None,
input_encoding=default_input_encoding,
output_encoding=default_output_encoding,
language_code=default_language_code,
......@@ -71,6 +71,7 @@ def render(src,
settings['input_encoding'] = input_encoding
settings['output_encoding'] = output_encoding
settings['stylesheet'] = stylesheet
settings['stylesheet_path'] = None
settings['file_insertion_enabled'] = 0
if language_code:
settings['language_code'] = language_code
......@@ -93,7 +94,7 @@ def render(src,
def HTML(src,
writer='html4css1',
report_level=1,
stylesheet='default.css',
stylesheet=None,
input_encoding=default_input_encoding,
output_encoding=default_output_encoding,
language_code=default_language_code,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment