Skip to content

Commit 5d11210

Browse files
foster999akhmerov
andauthored
Change to load json as str
Co-authored-by: Anton Akhmerov <[email protected]>
1 parent fd6b820 commit 5d11210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_sphinx/thebelab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def add_thebelab_library(doctree, env):
9898
return
9999

100100
try:
101-
thebe_config = json.load(filename.read_bytes())
101+
thebe_config = json.loads(filename.read_text())
102102
except ValueError:
103103
js.logger.warning(
104104
"The supplied thebelab configuration file is not in JSON format."

0 commit comments

Comments
 (0)