##// END OF EJS Templates
use DEFAULT_STATIC_FILES_PATH to find css files...
Julian Taylor -
Show More
@@ -87,8 +87,9 b' class CSSHTMLHeaderPreprocessor(Preprocessor):'
87 header = []
87 header = []
88
88
89 #Construct path to IPy CSS
89 #Construct path to IPy CSS
90 sheet_filename = os.path.join(path.get_ipython_package_dir(),
90 from IPython.html import DEFAULT_STATIC_FILES_PATH
91 'html', 'static', 'style', 'style.min.css')
91 sheet_filename = os.path.join(DEFAULT_STATIC_FILES_PATH,
92 'style', 'style.min.css')
92
93
93 #Load style CSS file.
94 #Load style CSS file.
94 with io.open(sheet_filename, encoding='utf-8') as file:
95 with io.open(sheet_filename, encoding='utf-8') as file:
General Comments 0
You need to be logged in to leave comments. Login now