Patch by Moritz Venn: Allow to set an additional delay via config.
[vuplus_dvbapp] / lib / python / Components / Sources / RdsDecoder.py
index 3ec9a25..26a3e5a 100644 (file)
@@ -23,7 +23,7 @@ class RdsDecoder(PerServiceBase, Source, object):
        decoder = property(getDecoder)
 
        def gotEvent(self, what):
-               if what in [iPlayableService.evStart, iPlayableService.evEnd]:
+               if what in (iPlayableService.evStart, iPlayableService.evEnd):
                        self.changed((self.CHANGED_CLEAR,))
                else:
                        self.changed((self.CHANGED_SPECIFIC, what))