aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-08 16:31:43 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-08 16:31:43 +0000
commit3f35474ab204e99bf710724d949ac29b7d2029d7 (patch)
tree66649486b06d3367012c151fb132ce33b058a726 /lib/python
parentef273c7a1a88b97d6338a1549e91c22a20c690ac (diff)
downloadenigma2-3f35474ab204e99bf710724d949ac29b7d2029d7.tar.gz
enigma2-3f35474ab204e99bf710724d949ac29b7d2029d7.zip
better fix
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py7
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")