fix receiver status when more than 1 device is connected

This commit is contained in:
Daniel Pavel 2012-11-09 01:03:37 +02:00
parent 560400e786
commit c12364a7c7
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class DeviceInfo(_api.PairedDevice):
_RECEIVER_STATUS_NAME = _FallbackDict(
lambda x:
'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...',