We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f880919 commit 529b243Copy full SHA for 529b243
1 file changed
generate_mac/__init__.py
@@ -248,7 +248,7 @@ def get_vid_bytes(mac_address):
248
'''Return vendor bytes from a given MAC address as a string'''
249
# check if this is a valid mac address
250
if generate_mac.is_mac_address(mac_address) != True:
251
- raise ValueError(mac_address + ' is not a valid MAC address')
+ raise ValueError(str(mac_address) + ' is not a valid MAC address')
252
253
output = ""
254
# Grab the first three bytes, this is the VID
0 commit comments