aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2010-11-17 12:10:24 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-12-13 15:28:03 +0100
commit514c34b0074cc4bad70d5550a36717bbd9276941 (patch)
tree0f81ba099100d86f817982c04892a5864fe19e50 /lib/python/Plugins/SystemPlugins
parent2170ed30c065cc19e54e7ae7d5f04415f8aac0e2 (diff)
downloadenigma2-514c34b0074cc4bad70d5550a36717bbd9276941.tar.gz
enigma2-514c34b0074cc4bad70d5550a36717bbd9276941.zip
get rid off evil absolute paths in dvdburn and nfiflash (fixes bug #620)
Diffstat (limited to 'lib/python/Plugins/SystemPlugins')
-rw-r--r--lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
index 296d3bca..34f87256 100644
--- a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
+++ b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
@@ -16,7 +16,7 @@ from Components.MultiContent import MultiContentEntryText
from Components.ScrollLabel import ScrollLabel
from Components.Harddisk import harddiskmanager
from Components.Task import Task, Job, job_manager, Condition
-from Tools.Directories import fileExists, isMount
+from Tools.Directories import fileExists, isMount, resolveFilename, SCOPE_HDD
from Tools.HardwareInfo import HardwareInfo
from Tools.Downloader import downloadWithProgress
from enigma import eConsoleAppContainer, gFont, RT_HALIGN_LEFT, RT_HALIGN_CENTER, RT_VALIGN_CENTER, RT_WRAP, eTimer
@@ -792,7 +792,7 @@ If you already have a prepared bootable USB stick, please insert it now. Otherwi
self.umountCallback()
def main(session, **kwargs):
- session.open(NFIDownload,"/home/root")
+ session.open(NFIDownload,resolveFilename(SCOPE_HDD))
def filescan_open(list, session, **kwargs):
dev = "/dev/" + (list[0].path).rsplit('/',1)[0][7:]