From c12364a7c7d5c889629831f2d007640491a10fd4 Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 9 Nov 2012 01:03:37 +0200 Subject: [PATCH] fix receiver status when more than 1 device is connected --- app/receiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/receiver.py b/app/receiver.py index c5f8594b..3df5f1f8 100644 --- a/app/receiver.py +++ b/app/receiver.py @@ -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...',