mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-02-05 21:18:45 +08:00
Remove print
This commit is contained in:
parent
95b8a46ac8
commit
71f2c81f5d
@ -34,7 +34,6 @@ def find_apps():
|
||||
def is_available(url):
|
||||
try:
|
||||
host, port = url.split("/")[2].split(":")
|
||||
print(host + port)
|
||||
with contextlib.closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as sock:
|
||||
if sock.connect_ex((host, int(port))) == 0:
|
||||
return True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user