This commit is contained in:
Alexandre Aubin 2021-12-27 15:19:48 +01:00
parent 7112deb167
commit 377ccd8acf

View file

@ -87,7 +87,7 @@ def get_public_ip_from_remote_server(protocol=4):
try: try:
return download_text(url, timeout=30).strip() return download_text(url, timeout=30).strip()
except Exception as e: except Exception as e:
logger.debug(f"Could not get public IPv{protocol} : {e}")) logger.debug(f"Could not get public IPv{protocol} : {e}")
return None return None