fix goto stored pos
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 27 Oct 2006 22:09:53 +0000 (22:09 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 27 Oct 2006 22:09:53 +0000 (22:09 +0000)
lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py

index e4c4dc4..bd1b4d1 100644 (file)
@@ -254,8 +254,8 @@ class PositionerSetup(Screen):
                        print "stepping east"
                        self.diseqccommand("moveEast", 0xFF) # one step
                elif entry == "storage":
-                       print "move to position", (self.positioner_storage.value + 1)
-                       self.diseqccommand("moveTo", self.positioner_storage.value + 1)
+                       print "move to position", int(self.positioner_storage.value)
+                       self.diseqccommand("moveTo", int(self.positioner_storage.value)
                elif entry == "limits":
                        self.diseqccommand("limitEast")
 #