pull/18268/head
Paulus Schoutsen 2018-11-06 19:27:52 +01:00
parent f4d3d5904e
commit 43ae57cc59
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ def format_mac(mac):
if len(to_test) == 17 and to_test.count(':') == 5:
return to_test.lower()
elif len(to_test) == 17 and to_test.count('-') == 5:
if len(to_test) == 17 and to_test.count('-') == 5:
to_test = to_test.replace('-', '')
elif len(to_test) == 14 and to_test.count('.') == 2:
to_test = to_test.replace('.', '')