diff --git a/latest-wired-python3.py b/latest-wired-python3.py index 56cbc52..1ee5406 100644 --- a/latest-wired-python3.py +++ b/latest-wired-python3.py @@ -61,7 +61,7 @@ def get_ip_address(ifname): except IOError as e: print(nic_name + 'is unacceptable !') return '0.0.0.0' - finally: + except: return '0.0.0.0' if nic_name != '':