receiver: fix bug in logging DJ notifications
This commit is contained in:
parent
44f85d5dee
commit
2e1e8dc9b5
|
|
@ -206,7 +206,7 @@ class ReceiverListener(_listener.EventsListener):
|
||||||
if n.sub_id == 0x41 and len(n.data) > _base._SHORT_MESSAGE_SIZE - 4:
|
if n.sub_id == 0x41 and len(n.data) > _base._SHORT_MESSAGE_SIZE - 4:
|
||||||
# DJ pairing notification - ignore - hid++ 1.0 pairing notification is all that is needed
|
# DJ pairing notification - ignore - hid++ 1.0 pairing notification is all that is needed
|
||||||
if _log.isEnabledFor(_INFO):
|
if _log.isEnabledFor(_INFO):
|
||||||
_log.info('ignoring DJ pairing notification', n)
|
_log.info('ignoring DJ pairing notification %s', n)
|
||||||
return
|
return
|
||||||
elif n.sub_id == 0x41:
|
elif n.sub_id == 0x41:
|
||||||
if not already_known:
|
if not already_known:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue