aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-17 16:28:57 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-17 16:28:57 +0000
commitd0ca21133e420f63c90d44e6b8bd23273e2ffd58 (patch)
treee9ba59253e9cc7839b7875ea5163a1d318a7d0f9 /lib/python/Components
parenta630959f3049fd7dda7d687d0d5dc827ba4cfe2b (diff)
downloadenigma2-d0ca21133e420f63c90d44e6b8bd23273e2ffd58.tar.gz
enigma2-d0ca21133e420f63c90d44e6b8bd23273e2ffd58.zip
use c++-fallback for lack of tzset-python-function
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Timezones.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/Timezones.py b/lib/python/Components/Timezones.py
index 6f71187b..0b6eb79b 100644
--- a/lib/python/Components/Timezones.py
+++ b/lib/python/Components/Timezones.py
@@ -4,6 +4,8 @@ from xml.sax.handler import ContentHandler
import os
import time
+from enigma import *
+
class Timezones:
class parseTimezones(ContentHandler):
def __init__(self, timezones):
@@ -30,7 +32,7 @@ class Timezones:
try:
time.tzset()
except:
- print "Timezone NOT set because your python has problems with time.tzset()"
+ etimezone()
def getTimezoneList(self):
list = []