mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 13:52:56 -04:00
Remove print
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user