def macAddressToString(mac, separator=':'):
	"""
	Converts a MAC address from bytes into a string.

	:param mac: bytes
	:param separator: str
	:return: str
	"""
	return separator.join('%02X' % b for b in mac)