Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 23, 2023
1 parent 152e0b0 commit 6c32778
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crystal_toolkit/core/jupyter.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ def _find_available_port():
import socketserver

with socketserver.TCPServer(("localhost", 0), None) as s:
free_port = s.server_address[1]

return free_port
return s.server_address[1]

# check docs about callback exception output
# check docs about proxy settings
Expand Down

0 comments on commit 6c32778

Please sign in to comment.