+ oui = mac.replace('-', '').replace(':', '').upper()[:6]
Why the [:6]?
Perhaps use re.sub to strip [-:] in a single call.
« Back to merge proposal
+ oui = mac.replace('-', '').replace(':', '').upper()[:6]
Why the [:6]?
Perhaps use re.sub to strip [-:] in a single call.