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? ;)
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):