aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-11-23 14:01:44 +0100
committerAndreas Oberritter <obi@opendreambox.org>2010-11-23 14:01:44 +0100
commitc4d7f98e70694e471409cda6de03d0f3b5816f27 (patch)
tree8cae9b3d3b6ee59a5a11da6f8702fc1ee2b1861a /lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment
parent7b2960a205f3c3e3b421d1664cd38644b3ffb679 (diff)
parented472ea627a958bc8dfb375ca03329624f1aed9c (diff)
downloadenigma2-c4d7f98e70694e471409cda6de03d0f3b5816f27.tar.gz
enigma2-c4d7f98e70694e471409cda6de03d0f3b5816f27.zip
Merge branch 'obi/master'
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment')
-rwxr-xr-xlib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py b/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py
index 2c0edf53..52296c66 100755
--- a/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/plugin.py
@@ -12,7 +12,7 @@ from ServiceReference import ServiceReference
from Plugins.Plugin import PluginDescriptor
from xml.etree.cElementTree import parse as ci_parse
from Tools.XMLTools import elementsWithTag, mergeText, stringToXML
-from enigma import eDVBCI_UI, eDVBCIInterfaces
+from enigma import eDVBCI_UI, eDVBCIInterfaces, eEnv
from os import system, path as os_path
@@ -115,7 +115,7 @@ class CIconfigMenu(Screen):
Screen.__init__(self, session)
self.ci_slot=ci_slot
- self.filename="/etc/enigma2/ci"+str(self.ci_slot)+".xml"
+ self.filename = eEnv.resolve("${sysconfdir}/enigma2/ci") + str(self.ci_slot) + ".xml"
self["key_red"] = StaticText(_("Delete"))
self["key_green"] = StaticText(_("add Service"))
@@ -567,7 +567,7 @@ def activate_all(session):
return Len > 0 and definitions[Len-1].text or default
for ci in range(NUM_CI):
- filename="/etc/enigma2/ci"+str(ci)+".xml"
+ filename = eEnv.resolve("${sysconfdir}/enigma2/ci") + str(ci) + ".xml"
if not os_path.exists(filename):
print "[CI_Activate_Config_CI%d] no config file found" %ci