Skip to content

Commit 6620bdb

Browse files
Update jupyter_console/completer.py
Co-authored-by: Matthias Bussonnier <[email protected]>
1 parent 71bdcb5 commit 6620bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_console/completer.py

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

1212

1313
# jupyter_client 7.0+ has async channel methods that we expect to be sync here
14-
if jupyter_client._version.version_info[0] >= 7:
14+
if jupyter_client.version_info >= (7,):
1515
from jupyter_client.utils import run_sync
1616
else:
1717
run_sync = lambda x: x

0 commit comments

Comments
 (0)