Revert "[update] mac_address format fix"
This reverts commit 67b645dac6.
This commit is contained in:
@@ -577,7 +577,7 @@ class DeviceManager(MasterDevice, Synchronized):
|
||||
|
||||
elif isinstance(device, str):
|
||||
for slave in self._device:
|
||||
if ':'.join('{:02x}'.format(b) for b in slave.mac_address) == device:
|
||||
if ':'.join(format(b, 'x') for b in slave.mac_address) == device:
|
||||
return slave
|
||||
|
||||
elif isinstance(device, DeviceInfo):
|
||||
|
||||
Reference in New Issue
Block a user