diff --git a/visidatarc b/visidatarc index 8d62b80..861f787 100644 --- a/visidatarc +++ b/visidatarc @@ -63,9 +63,10 @@ def sym_time(val): def vendor(mac): try: from mac_vendor_lookup import InvalidMacError, MacLookup as mlu - return mlu().lookup(mac.strip()) - except InvalidMacError: - return f"not a MAC {str(mac).strip()} of type {type(mac)}" + try: + return mlu().lookup(mac.strip()) + except InvalidMacError: + return f"not a MAC {str(mac).strip()} of type {type(mac)}" except ModuleNotFoundError: return "module not available"