diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-01-08 16:31:43 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-01-08 16:31:43 +0000 |
| commit | 3f35474ab204e99bf710724d949ac29b7d2029d7 (patch) | |
| tree | 66649486b06d3367012c151fb132ce33b058a726 /lib/python | |
| parent | ef273c7a1a88b97d6338a1549e91c22a20c690ac (diff) | |
| download | enigma2-3f35474ab204e99bf710724d949ac29b7d2029d7.tar.gz enigma2-3f35474ab204e99bf710724d949ac29b7d2029d7.zip | |
better fix
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 08bfaf35..5b14a6d3 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1908,10 +1908,9 @@ class InfoBarServiceErrorPopupSupport: eDVBServicePMTHandler.eventEOF: None } - if error not in errors: - error = None - - error = error and errors[error] + if error is not None: + if error in errors: + error = errors[error] if error is not None: Notifications.AddPopup(text = error, type = MessageBox.TYPE_ERROR, timeout = 5, id = "ZapError") |
