Skip to content
Snippets Groups Projects
Commit 325a6aa9 authored by Dirkjan Ochtman's avatar Dirkjan Ochtman
Browse files

merge with stable

parents d1170893 192083a3
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@
dumbip = socket.gethostbyaddr(socket.gethostname())[2][0]
if not dumbip.startswith('127.') and ':' not in dumbip:
return dumbip
except socket.gaierror:
except (socket.gaierror, socket.herror):
dumbip = '127.0.0.1'
# works elsewhere, but actually sends a packet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment