Skip to content

Commit 7c417f5

Browse files
authored
Merge pull request #870 from MiddleFork/master
Fix #869 from cgi import escape fails under python 3.8; import from html instead
2 parents 6f53263 + 4fbe1cd commit 7c417f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbviewer/providers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import statsd
1313
import asyncio
1414

15-
from cgi import escape
15+
from html import escape
1616
from contextlib import contextmanager
1717
from datetime import datetime
1818

0 commit comments

Comments
 (0)