@@ -130,14 +143,19 @@ def getIPs(): # prefer IPv4 addresses to IPv6 addresses return ipv4_addresses + ipv6_addresses
-# Return the first real non-local IP we find def getFirstRealIP():
- """ Return the first real non-local IP we find from the list of
all active devices.:return: first non-local IP or ``None``
Same here.