X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/630201d0c8e0753ff466761f0c21e6ba47ee845d..b5b839edc91a6902966079ec0b0bb5026df9df57:/lib/python/Components/Converter/RadioText.py diff --git a/lib/python/Components/Converter/RadioText.py b/lib/python/Components/Converter/RadioText.py index c47e02fb..e69de29b 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)