Remove print

This commit is contained in:
quietsy 2022-01-28 01:49:52 +02:00
parent 95b8a46ac8
commit 71f2c81f5d

View File

@ -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