mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 01:48:21 +02:00
Use socket.gethostname() instead of socket.getfqdn()
This commit is contained in:
parent
1949d8a50c
commit
2979f04c82
@ -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]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user