X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d801f7ab1029416b489c32e15a857e2ce963015c..39627668ca36cecbc78ec5f677061f128957b550:/lib/python/Components/Timezones.py diff --git a/lib/python/Components/Timezones.py b/lib/python/Components/Timezones.py index 15837450..ccc98279 100644 --- a/lib/python/Components/Timezones.py +++ b/lib/python/Components/Timezones.py @@ -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()