X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FTimezones.py;h=7f709159286b0065cc3e53fd9a1dd6f76e9b7c74;hb=111874bbd87063dc52d061bde1d74694c5c5e092;hp=f3e24ee6c766eb4cd502c0efa47e050b1a52d849;hpb=601ea61bbe6efa01e213d4507013a3750f1243d2;p=vuplus_dvbapp diff --git a/lib/python/Components/Timezones.py b/lib/python/Components/Timezones.py index f3e24ee..7f70915 100644 --- a/lib/python/Components/Timezones.py +++ b/lib/python/Components/Timezones.py @@ -52,11 +52,8 @@ class Timezones: e_tzset() def getTimezoneList(self): - list = [] - for x in self.timezones: - list.append(str(x[0])) - return list - + return [ str(x[0]) for x in self.timezones ] + def getDefaultTimezone(self): # TODO return something more useful - depending on country-settings? t = "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Vienna"