fix linked tuners option in tuner config,
[enigma2.git] / lib / python / Components / Converter / RadioText.py
index e4499950c88a84be68ec13397576be6779572d18..59885c0a689602ed8d1b0f4aa6c8288421eafa58 100644 (file)
@@ -9,11 +9,9 @@ class RadioText(Converter, object):
        @cached
        def getText(self):
                rt = self.source.radiotext
-               if rt is None:
-                       return "N/A"
-               text = rt.getRadioText()
-               if self.type == "RadioText-UTF8":
-                       return text.decode("latin-1").encode("utf-8")
-               else:
-                       return text
+               text = ""
+               if rt:
+                       if self.type == "RadioText":
+                               text = rt.getRadioText()
+               return text.decode("latin-1").encode("utf-8")
        text = property(getText)