just call plugin with servicelist as kwarg
authorFelix Domke <tmbinc@elitedvb.net>
Sat, 28 Jul 2007 09:20:01 +0000 (09:20 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sat, 28 Jul 2007 09:20:01 +0000 (09:20 +0000)
lib/python/Screens/InfoBarGenerics.py

index 7d59703..0c0916f 100644 (file)
@@ -1204,9 +1204,7 @@ class InfoBarPlugins:
                return list
 
        def runPlugin(self, plugin):
                return list
 
        def runPlugin(self, plugin):
-               self.session.servicelist = self.servicelist
-               plugin(session = self.session)
-               del self.session.servicelist
+               plugin(session = self.session, servicelist = self.servicelist)
 
 # depends on InfoBarExtensions
 class InfoBarSleepTimer:
 
 # depends on InfoBarExtensions
 class InfoBarSleepTimer: