Removed Windows specific component

This commit is contained in:
HenniOVP 2018-02-02 20:22:55 +01:00 committed by GitHub
parent 74a1f02327
commit c0fa43e7ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,9 +55,6 @@ def get_ip_address(ifname):
except IOError:
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)
except WindowsError:
print("Getting the IP address on Windows is not implemented")
result = "no IP on {}".format(ifname)
except ImportError:
print("Getting the IP address on this OS is not implemented")
result = "no IP on {}".format(ifname)