diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-01 13:32:30 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-01 13:32:30 +0000 |
| commit | 64fdc7815a0b07777d9c9706f02317d325f8f773 (patch) | |
| tree | bdb352e0e3a50c5fa74d914575e05f42c1a61b78 /lib/python/Components/NimManager.py | |
| parent | f338da53aaf9e1ea6e6d7d0c5f4d19285099ae37 (diff) | |
| download | enigma2-64fdc7815a0b07777d9c9706f02317d325f8f773.tar.gz enigma2-64fdc7815a0b07777d9c9706f02317d325f8f773.zip | |
fixed sequence to floating point conversion in usals parameters
Diffstat (limited to 'lib/python/Components/NimManager.py')
| -rw-r--r-- | lib/python/Components/NimManager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 60484d61..b3be2603 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -127,9 +127,9 @@ class SecConfigure: else: loValue = rotorParam.WEST self.addLNBSimple(sec, slotid = x, diseqcmode = 3, - longitude = float(str(nim.longitude.value[0]) + "." + str(nim.longitude.value[1])), + longitude = configsequencearg.getFloat(nim.longitude), loDirection = loValue, - latitude = float(str(nim.latitude.value[0]) + "." + str(nim.latitude.value[1])), + latitude = configsequencearg.getFloat(nim.latitude), laDirection = laValue) # pass elif currentConfigSelectionElement(nim.configMode) == "nothing": @@ -254,9 +254,9 @@ class SecConfigure: sec.setCommandOrder(currCO) if currentConfigSelectionElement(currLnb.diseqcMode) == "1_2": - latitude = float(str(currLnb.latitude.value[0]) + "." + str(currLnb.latitude.value[1])) + latitude = configsequencearg.getFloat(currLnb.latitude) sec.setLatitude(latitude) - longitude = float(str(currLnb.longitude.value[0]) + "." + str(currLnb.longitude.value[1])) + longitude = configsequencearg.getFloat(currLnb.longitude) sec.setLongitude(longitude) if currentConfigSelectionElement(currLnb.latitudeOrientation) == "north": sec.setLaDirection(rotorParam.NORTH) |
