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