From a3b07ecadd749da6a42d57cde8b073c46c055b43 Mon Sep 17 00:00:00 2001 From: cuu Date: Tue, 21 Aug 2018 14:56:29 +0800 Subject: [PATCH] bluetooth --- Menu/GameShell/10_Settings/Bluetooth/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Menu/GameShell/10_Settings/Bluetooth/__init__.py b/Menu/GameShell/10_Settings/Bluetooth/__init__.py index aa2a478..3198362 100644 --- a/Menu/GameShell/10_Settings/Bluetooth/__init__.py +++ b/Menu/GameShell/10_Settings/Bluetooth/__init__.py @@ -156,8 +156,11 @@ class BleInfoPage(Page): li._Flag = v if v =="UUIDs": - pp(self._AList[v][0]) - sm_text = str(self._AList[v][0]) + if len(self._AList[v]) > 1: + pp(self._AList[v][0]) + sm_text = str(self._AList[v][0]) + else: + sm_text = "" else: sm_text = str(self._AList[v])