X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/9845b232ab53ef98733306299e1a52afbabb4e70..2d2048b94fc903b6102b5b5126419d57605d130a:/src/minwii/widgets/home.py diff --git a/src/minwii/widgets/home.py b/src/minwii/widgets/home.py index 5b34403..8a671bc 100755 --- a/src/minwii/widgets/home.py +++ b/src/minwii/widgets/home.py @@ -86,7 +86,7 @@ class Home(object, Table) : playerTable = Table() self.selectedWiimote = Group(name='selectedWiimote', value=0) - for i in range(self.nwiimotes): + for i in range(self.nwiimotes - 1): r = Radio(self.selectedWiimote, i) playerTable.td(r) playerTable.td(self.createLabel(" %d " % (i+1)))