Skip to content

Commit dd2364f

Browse files
committed
Trying to apply further fix to pull request 1663.
See ipython-contrib#1663 (comment)
1 parent 03753fe commit dd2364f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jupyter_contrib_nbextensions/nbconvert_support/execute_time.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
try:
1010
# notebook >= 5.0.0-rc1
11-
import notebook._tz as nbtz
11+
#import notebook._tz as nbtz
12+
# See https://github.com/ipython-contrib/jupyter_contrib_nbextensions/pull/1663#issuecomment-2248001870
13+
import jupyter_server._tz as nbtz
1214
except ImportError:
1315
# notebook < 5.0.0-rc1
1416
import notebook.services.contents.tz as nbtz

0 commit comments

Comments
 (0)