aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/SubservicesQuickzap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Screens/SubservicesQuickzap.py b/lib/python/Screens/SubservicesQuickzap.py
index fcedc64f..2242c13e 100644
--- a/lib/python/Screens/SubservicesQuickzap.py
+++ b/lib/python/Screens/SubservicesQuickzap.py
@@ -76,7 +76,7 @@ class SubservicesQuickzap(InfoBarShowHide, InfoBarMenu, InfoBarServiceName, Info
self.updateSubservices()
for x in range(self.n):
if service == self.subservices.getSubservice(x):
- return self.n
+ return x
def keyNumberGlobal(self, number):
print number, "pressed"