From ef273c7a1a88b97d6338a1549e91c22a20c690ac Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 8 Jan 2007 16:26:14 +0000 Subject: [PATCH] fix following frequently bluescreen File "/enigma2-1.0-r0/enigma2/lib/python/Screens/InfoBarGenerics.py", line 1917, in __tuneFailed Notifications.AddPopup(text = error, type = MessageBox.TYPE_ERROR, timeout = 5, id = "ZapError") File "/enigma2-1.0-r0/enigma2/lib/python/Tools/Notifications.py", line 45, in AddPopup AddNotificationWithID(id, MessageBox, text = text, type = type, timeout = timeout, close_on_any_key = True) .... .... .... TypeError: in method 'eLabel_setText', argument 2 of type 'std::string const &' --- lib/python/Screens/InfoBarGenerics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 94f5c211..08bfaf35 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1911,7 +1911,7 @@ class InfoBarServiceErrorPopupSupport: if error not in errors: error = None - error = error is not None and errors[error] + error = error and errors[error] if error is not None: Notifications.AddPopup(text = error, type = MessageBox.TYPE_ERROR, timeout = 5, id = "ZapError") -- 2.30.2