Skip to content

Commit e09ba05

Browse files
committed
fix minimum tornado error message
1 parent da0fef5 commit e09ba05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_server/serverapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
from jupyter_server.utils import secure_write, run_sync
4343

4444
# the minimum viable tornado version: needs to be kept in sync with setup.py
45-
MIN_TORNADO = (6, 1)
45+
MIN_TORNADO = (6, 1, 0)
4646

4747
try:
4848
import tornado
4949
assert tornado.version_info >= MIN_TORNADO
5050
except (ImportError, AttributeError, AssertionError) as e: # pragma: no cover
5151
raise ImportError(
52-
_("The Jupyter Server requires tornado >=%s", ".".join(MIN_TORNADO))
52+
_("The Jupyter Server requires tornado >=%s.%s.%s", *MIN_TORNADO)
5353
) from e
5454

5555
from tornado import httpserver

0 commit comments

Comments
 (0)