diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-24 20:56:21 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-24 20:56:21 +0100 |
| commit | 574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f (patch) | |
| tree | e2ded87bb0e66cd9e88ae8d4ffc3846f788343bf /lib/python/Screens/Menu.py | |
| parent | 5a6bde9419249a78c957093e0cc438d7c6eeb46c (diff) | |
| download | enigma2-574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f.tar.gz enigma2-574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f.zip | |
small optimizations and cleanups by Moritz Venn
Diffstat (limited to 'lib/python/Screens/Menu.py')
| -rw-r--r-- | lib/python/Screens/Menu.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py index 93f23dfb..5f2032f1 100644 --- a/lib/python/Screens/Menu.py +++ b/lib/python/Screens/Menu.py @@ -61,9 +61,6 @@ class MenuSummary(Screen): </widget> </screen>""" - def __init__(self, session, parent): - Screen.__init__(self, session, parent) - class Menu(Screen): ALLOW_SUSPEND = True @@ -118,7 +115,7 @@ class Menu(Screen): self.menuClosed(*res) def menuClosed(self, *res): - if len(res) and res[0]: + if res and res[0]: self.close(True) def addItem(self, destList, node): |
