small optimizations and cleanups by Moritz Venn
[enigma2.git] / lib / python / Components / Sources / RdsDecoder.py
index 3ec9a25db60fa65e02d9c8396eee977dd808140b..26a3e5a74c3b01bc69f0f0028c64b59c373c0ab1 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))