Skip to content

Commit d06eaa2

Browse files
authored
Merge pull request #1140 from jcb91/htmltools
[js_highlight.py] move into nbconvert_support, specify exception type
2 parents f105d1d + bc899af commit d06eaa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/nbextensions/htmltools/js_highlight.py renamed to src/jupyter_contrib_nbextensions/nbconvert_support/js_highlight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
try:
2323
from html.parser import HTMLParser # py3
24-
except:
24+
except ImportError:
2525
from HTMLParser import HTMLParser # py2
2626

2727

0 commit comments

Comments
 (0)