aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-25 22:02:04 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-25 22:02:04 +0000
commit48f2728ecdeabde7de0f497f8a69dbddcb047b90 (patch)
tree89b500b03a70ded39787a2eaadb4cf440cb4f760 /lib/python/Screens
parent4ebaa45e04cecf33f0068d911a4bd64cb3be03cb (diff)
downloadenigma2-48f2728ecdeabde7de0f497f8a69dbddcb047b90.tar.gz
enigma2-48f2728ecdeabde7de0f497f8a69dbddcb047b90.zip
ugly workaround a bluescreen happening when a record timer fires that zaps away
following error would happen without try/except: InfoBarGenerics.py", line 1415, in checkNotificationsIfExecing AttributeError: 'MoviePlayer' object has no attribute 'execing' someone with knowledge what should be done here: could you fix it, tmbinc? ;)
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index 13bca8d1..2624209c 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -1412,8 +1412,11 @@ class InfoBarNotifications:
Notifications.notificationAdded.append(self.checkNotificationsIfExecing)
def checkNotificationsIfExecing(self):
- if self.execing:
- self.checkNotifications()
+ try:
+ if self.execing:
+ self.checkNotifications()
+ except:
+ print "******************************* A SEVERE ERROR HAPPENED... Someone who understands the code... please fix :) *******"
def checkNotifications(self):
if len(Notifications.notifications):