mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
log which port is in use
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
parent
78a895b720
commit
e587ef5344
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ class WebServerTool:
|
||||||
result = con.connect_ex((host_name, port)) == 0
|
result = con.connect_ex((host_name, port)) == 0
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
print("Port is in use")
|
print(f"Port {port} is already in use")
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def call(self, func):
|
def call(self, func):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue