diff --git a/kivyblocks/blocks.py b/kivyblocks/blocks.py index f51f28b..13d7b1c 100755 --- a/kivyblocks/blocks.py +++ b/kivyblocks/blocks.py @@ -321,7 +321,7 @@ class Blocks(EventDispatcher): raise e pos = 0 - for sw in desc.get('subwidgets',[]): + for pos,sw in enumerate(desc.get('subwidgets',[])): params={ 'desc':desc, 'widget':widget, diff --git a/requirements.txt b/requirements.txt index 626dffc..7b8dc18 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,5 @@ ffpyplayer qrcode pillow requests +plyer +python-osc