Show More
@@ -92,14 +92,9 b' class CSSHTMLHeaderTransformer(ActivatableTransformer):' | |||
|
92 | 92 | 'html', 'static', 'style', 'style.min.css') |
|
93 | 93 | |
|
94 | 94 | #Load style CSS file. |
|
95 | try: | |
|
96 | with io.open(sheet_filename, encoding='utf-8') as file: | |
|
97 | file_text = file.read() | |
|
98 | header.append(file_text) | |
|
99 | except IOError: | |
|
100 | ||
|
101 | # New version of IPython with style.min.css, pass | |
|
102 | pass | |
|
95 | with io.open(sheet_filename, encoding='utf-8') as file: | |
|
96 | file_text = file.read() | |
|
97 | header.append(file_text) | |
|
103 | 98 | |
|
104 | 99 | #Add pygments CSS |
|
105 | 100 | formatter = HtmlFormatter() |
General Comments 0
You need to be logged in to leave comments.
Login now