forked from extern/easydiffusion
Use socket.gethostname() instead of socket.getfqdn()
This commit is contained in:
@@ -307,7 +307,7 @@ def getUIPlugins():
|
|||||||
return plugins
|
return plugins
|
||||||
|
|
||||||
def getIPConfig():
|
def getIPConfig():
|
||||||
ips = socket.gethostbyname_ex(socket.getfqdn())
|
ips = socket.gethostbyname_ex(socket.gethostname())
|
||||||
ips[2].append(ips[0])
|
ips[2].append(ips[0])
|
||||||
return ips[2]
|
return ips[2]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user