Skip to content

Commit 8acc0f2

Browse files
authored
fix port (#118)
1 parent ebc0b22 commit 8acc0f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
cmd_opts = parser.parse_args()
3131

3232
python_cmd = cmd_opts.pycmd
33-
listen_port = cmd_opts.port
33+
listen_port = cmd_opts.port if 0 <= cmd_opts.port <= 65535 else 7865
3434
iscolab = cmd_opts.colab
3535
noparallel = cmd_opts.noparallel
3636
noautoopen = cmd_opts.noautoopen

0 commit comments

Comments
 (0)