mirror of
https://github.com/wassname/jupyter_contrib_nbextensions.git
synced 2026-06-27 16:10:24 +08:00
Merge pull request #1140 from jcb91/htmltools
[js_highlight.py] move into nbconvert_support, specify exception type
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ from traitlets import Unicode
|
||||
|
||||
try:
|
||||
from html.parser import HTMLParser # py3
|
||||
except:
|
||||
except ImportError:
|
||||
from HTMLParser import HTMLParser # py2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user