mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update src/utils/network.py
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
This commit is contained in:
parent
15996aef11
commit
db10ac66c4
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue