From: Andreas Monzner Date: Fri, 20 Oct 2006 12:59:31 +0000 (+0000) Subject: fix bluescreen when try to store a position in rotor X-Git-Tag: 2.6.0~2864 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/094ce8fe71fe874774ba9ade2801ae4069333b96?ds=sidebyside fix bluescreen when try to store a position in rotor --- diff --git a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py index afdb6b6e..4a14ba57 100644 --- a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py @@ -233,8 +233,8 @@ class PositionerSetup(Screen): print "stepping west" self.diseqccommand("moveWest", 0xFF) # one step elif entry == "storage": - print "store at position", (self.positioner_storage.value + 1) - self.diseqccommand("store", self.positioner_storage.value + 1) + print "store at position", int(self.positioner_storage.value) + self.diseqccommand("store", int(self.positioner_storage.value) elif entry == "limits": self.diseqccommand("limitWest")