aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Setup.py
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-28 20:29:01 +0200
committerAndreas Oberritter <obi@opendreambox.org>2010-11-16 17:15:37 +0100
commit879d60c88e24c2c3f2aab9dff73192c901f63f31 (patch)
tree73bebea0db9c4d22d2de42cc1cd7303b01dc8943 /lib/python/Screens/Setup.py
parent6b59a3472e24f35fcaac669a167b1a4fae207556 (diff)
downloadenigma2-879d60c88e24c2c3f2aab9dff73192c901f63f31.tar.gz
enigma2-879d60c88e24c2c3f2aab9dff73192c901f63f31.zip
use eEnv::resolve() / eEnv.resolve()
Diffstat (limited to 'lib/python/Screens/Setup.py')
-rwxr-xr-xlib/python/Screens/Setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py
index e9c3c680..61e6fdd7 100755
--- a/lib/python/Screens/Setup.py
+++ b/lib/python/Screens/Setup.py
@@ -4,6 +4,7 @@ from Components.config import config, ConfigNothing
from Components.SystemInfo import SystemInfo
from Components.ConfigList import ConfigListScreen
from Components.Sources.StaticText import StaticText
+from enigma import eEnv
import xml.etree.cElementTree
@@ -14,7 +15,7 @@ try:
setupfile = file('data/setup.xml', 'r')
except:
# if not found in the current path, we use the global datadir-path
- setupfile = file('/usr/share/enigma2/setup.xml', 'r')
+ setupfile = file(eEnv.resolve('${datadir}/enigma2/setup.xml'), 'r')
setupdom = xml.etree.cElementTree.parse(setupfile)
setupfile.close()