timezone.xml: spotted a nasty little typo.
authorErik Slagter <erik@openpli.org>
Fri, 10 Apr 2015 08:59:44 +0000 (10:59 +0200)
committerErik Slagter <erik@openpli.org>
Fri, 10 Apr 2015 08:59:44 +0000 (10:59 +0200)
lib/python/Components/Timezones.py

index 46c8c95..890eb6c 100644 (file)
@@ -10,7 +10,7 @@ class Timezones:
 
        def readTimezonesFromFile(self):
                try:
-                       root = xml.etree.cElementTree.parse('/usr/share/enigma2/timezone.xml')).getroot()
+                       root = xml.etree.cElementTree.parse('/usr/share/enigma2/timezone.xml').getroot()
                        for zone in root.findall("zone"):
                                self.timezones.append((zone.get('name',""), zone.get('zone',"")))
                except: