Show More
@@ -43,7 +43,7 b' try:' | |||||
43 | PUBLIC_IPS = socket.gethostbyname_ex(socket.gethostname() + '.local')[2] |
|
43 | PUBLIC_IPS = socket.gethostbyname_ex(socket.gethostname() + '.local')[2] | |
44 | except socket.error: |
|
44 | except socket.error: | |
45 | pass |
|
45 | pass | |
46 | else: |
|
46 | finally: | |
47 | PUBLIC_IPS = uniq_stable(PUBLIC_IPS) |
|
47 | PUBLIC_IPS = uniq_stable(PUBLIC_IPS) | |
48 | LOCAL_IPS.extend(PUBLIC_IPS) |
|
48 | LOCAL_IPS.extend(PUBLIC_IPS) | |
49 |
|
49 |
General Comments 0
You need to be logged in to leave comments.
Login now