Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 8d4311d

Browse files
committed
Coerce port to int.
1 parent 01c10fe commit 8d4311d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_dash/jupyter_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def run(
192192

193193
# Get host and port
194194
host = kwargs.pop("host", os.getenv("HOST", "127.0.0.1"))
195-
port = kwargs.pop("port", os.getenv("PORT", "8050"))
195+
port = int(kwargs.pop("port", os.getenv("PORT", "8050")))
196196

197197
# Validate / infer display mode
198198
if JupyterDash._in_colab:

0 commit comments

Comments
 (0)