parsing for /etc/timezone.xml added
[enigma2.git] / lib / python / Screens / Satconfig.py
index 5313896..1e3cbd5 100644 (file)
@@ -9,12 +9,11 @@ from Components.config import getConfigListEntry
 
 class NimSetup(Screen):
        def createSimpleSetup(self, nim, list, mode):
-
                if mode == 0:                   #single Sat
                        list.append(getConfigListEntry("Satellite", config.Nims[nim.slotid].diseqcA))
                else:                                                   # > 1 Sats
                        list.append(getConfigListEntry("Port A", config.Nims[nim.slotid].diseqcA))
-               
+
                if mode >= 1:                   # > 1 Sats
                        list.append(getConfigListEntry("Port B", config.Nims[nim.slotid].diseqcB))
                        if mode >= 3:           # > 2 Sats
@@ -78,7 +77,7 @@ class NimSetup(Screen):
        def __init__(self, session, nim):
                Screen.__init__(self, session)
                self.nim = nim
-
+               
                self["actions"] = NumberActionMap(["SetupActions"],
                {
                        "ok": self.keySave,
@@ -86,15 +85,15 @@ class NimSetup(Screen):
                        "left": self.keyLeft,
                        "right": self.keyRight,
                        "1": self.keyNumberGlobal,
-            "2": self.keyNumberGlobal,
-            "3": self.keyNumberGlobal,
-            "4": self.keyNumberGlobal,
-            "5": self.keyNumberGlobal,
-            "6": self.keyNumberGlobal,
-            "7": self.keyNumberGlobal,
-            "8": self.keyNumberGlobal,
-            "9": self.keyNumberGlobal,
-            "0": self.keyNumberGlobal
+                       "2": self.keyNumberGlobal,
+                       "3": self.keyNumberGlobal,
+                       "4": self.keyNumberGlobal,
+                       "5": self.keyNumberGlobal,
+                       "6": self.keyNumberGlobal,
+                       "7": self.keyNumberGlobal,
+                       "8": self.keyNumberGlobal,
+                       "9": self.keyNumberGlobal,
+                       "0": self.keyNumberGlobal
                }, -1)
 
                self.list = [ ]