From db10ac66c4589f13fc20936810211d6a4aecd1db Mon Sep 17 00:00:00 2001 From: theo-is-taken <108329355+theo-is-taken@users.noreply.github.com> Date: Mon, 4 Jul 2022 10:17:15 +0200 Subject: [PATCH] Update src/utils/network.py Co-authored-by: ljf (zamentur) --- src/utils/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/network.py b/src/utils/network.py index d46f78d42..a76cc34b7 100644 --- a/src/utils/network.py +++ b/src/utils/network.py @@ -110,7 +110,7 @@ def get_public_ips(protocol=4): ip_count = {} # Count the number of times an IP has appeared # Check URLS - for url in ip_url_yunohost_tab: + for url in ip_url_yunohost_tab[0:3]: logger.debug("Fetching IP from %s " % url) try: ip = download_text(url, timeout=15).strip()