fix rfmod audio (on and off was swapped)
[enigma2.git] / lib / python / Components / Timezones.py
index 15837450e1074a70966a57a627740c74b0ed807e..ccc982797e8c466b521362ce9c2145c98d4a2ba2 100644 (file)
@@ -4,8 +4,6 @@ from xml.sax.handler import ContentHandler
 import os
 import time
 
-from enigma import *
-
 class Timezones:
        class parseTimezones(ContentHandler):
                def __init__(self, timezones):
@@ -42,7 +40,8 @@ class Timezones:
                try:
                        time.tzset()
                except:
-                       etimezone()
+                       from enigma import e_tzset
+                       e_tzset()
                
        def getTimezoneList(self):
                list = []
@@ -52,6 +51,6 @@ class Timezones:
        
        def getDefaultTimezone(self):
                # TODO return something more useful - depending on country-settings?
-               return 27
+               return "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Vienna"
 
 timezones = Timezones()