fix receiver status when more than 1 device is connected
This commit is contained in:
parent
560400e786
commit
c12364a7c7
|
@ -188,7 +188,7 @@ class DeviceInfo(_api.PairedDevice):
|
||||||
_RECEIVER_STATUS_NAME = _FallbackDict(
|
_RECEIVER_STATUS_NAME = _FallbackDict(
|
||||||
lambda x:
|
lambda x:
|
||||||
'1 device found' if x == STATUS.CONNECTED + 1 else
|
'1 device found' if x == STATUS.CONNECTED + 1 else
|
||||||
'%d devices found' if x > STATUS.CONNECTED else
|
('%d devices found' % x) if x > STATUS.CONNECTED else
|
||||||
'?',
|
'?',
|
||||||
{
|
{
|
||||||
STATUS.UNKNOWN: 'Initializing...',
|
STATUS.UNKNOWN: 'Initializing...',
|
||||||
|
|
Loading…
Reference in New Issue