Removed Windows specific component
This commit is contained in:
parent
74a1f02327
commit
c0fa43e7ce
1 changed files with 0 additions and 3 deletions
|
|
@ -55,9 +55,6 @@ def get_ip_address(ifname):
|
||||||
except IOError:
|
except IOError:
|
||||||
print("Error getting the IP address, either you are not doing this on raspbian or the queried device does not exist.")
|
print("Error getting the IP address, either you are not doing this on raspbian or the queried device does not exist.")
|
||||||
result = "no IP on {}".format(ifname)
|
result = "no IP on {}".format(ifname)
|
||||||
except WindowsError:
|
|
||||||
print("Getting the IP address on Windows is not implemented")
|
|
||||||
result = "no IP on {}".format(ifname)
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("Getting the IP address on this OS is not implemented")
|
print("Getting the IP address on this OS is not implemented")
|
||||||
result = "no IP on {}".format(ifname)
|
result = "no IP on {}".format(ifname)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue