Update widgets.py
Merge pull request #18 from bashu/master

Update widgets.py, fix #17