X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FConverter%2FRadioText.py;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=b332b11ee2f3fd450493b55507324c74d96b20e8;hp=c47e02fbabfae8711b2e4258a53d958967c47fde;hpb=630201d0c8e0753ff466761f0c21e6ba47ee845d;p=vuplus_dvbapp diff --git a/lib/python/Components/Converter/RadioText.py b/lib/python/Components/Converter/RadioText.py index c47e02f..e69de29 100644 --- a/lib/python/Components/Converter/RadioText.py +++ b/lib/python/Components/Converter/RadioText.py @@ -1,19 +0,0 @@ -from Components.Converter.Converter import Converter -from Components.Element import cached - -class RadioText(Converter, object): - def __init__(self, type): - Converter.__init__(self, type) - self.type = type - - @cached - def getText(self): - rt = self.source.radiotext - if rt is None: - return "" - text = rt.getRadioText() - if self.type == "RadioText-UTF8": - return text.decode("latin-1").encode("utf-8") - else: - return text - text = property(getText)