mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
skip ipaddress way to receive ip address
This commit is contained in:
parent
e1edb76f73
commit
1c530c0cb4
1 changed files with 0 additions and 6 deletions
|
|
@ -40,12 +40,6 @@ def get_host_ip():
|
|||
except Exception:
|
||||
pass
|
||||
|
||||
try:
|
||||
import ipaddress
|
||||
return socket.gethostbyname(str(ipaddress.ip_address(8888)))
|
||||
|
||||
except Exception:
|
||||
pass
|
||||
return None
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue