aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-19 20:01:49 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-19 20:01:49 +0000
commit828d14b327774be99e3d411399907e5141d60814 (patch)
tree2649f13de65d2c9d725b60b223616b1cfb17ee9d /lib/python
parentd97eb981e3a8e907f61bbe295b7b10a4225c9c78 (diff)
downloadenigma2-828d14b327774be99e3d411399907e5141d60814.tar.gz
enigma2-828d14b327774be99e3d411399907e5141d60814.zip
cast the right string
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/ChannelSelection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index 8fb46f5e..7650a4a6 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -326,8 +326,8 @@ class ChannelSelectionBase(Screen):
else:
service_name = _("Services")
try:
- service_name += ' - %s'%(nimmanager.getSatDescription(orbpos))
- service.setName(str(service_name)) # why we need this cast?
+ service_name += str(' - %s'%(nimmanager.getSatDescription(orbpos)))
+ service.setName(service_name) # why we need this cast?
except:
if orbpos > 1800: # west
service.setName("%s (%3.1fW)"%(str, (0 - (orbpos - 3600)) / 10.0))