aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-27 15:34:19 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-27 15:34:19 +0000
commit56bd29b373d2de1a98ae7d41daa598e676a64088 (patch)
treee8912fe543fdfda9884b62a50dbdbba3e1f975c0 /lib/python/Plugins
parent7c9176b37c107c670dae2f587ece3a63bf64a10d (diff)
downloadenigma2-56bd29b373d2de1a98ae7d41daa598e676a64088.tar.gz
enigma2-56bd29b373d2de1a98ae7d41daa598e676a64088.zip
correctly parse output of new epopen command
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py b/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
index 32666af8..0c375129 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
@@ -86,7 +86,7 @@ class DVDToolbox(Screen):
mediatype = ""
for line in mediuminfo.splitlines():
if line.find("Mounted Media:") > -1:
- mediatype = line.rsplit(',',1)[1][1:-1]
+ mediatype = line.rsplit(',',1)[1][1:]
if mediatype.find("RW") > 0:
self.formattable = True
else:
@@ -115,7 +115,7 @@ class DVDToolbox(Screen):
if used:
used = capacity-used
print "[free blocks] capacity=%d, used=%d" % (capacity, used)
- infotext += line
+ infotext += line+'\n'
self["details"].setText(infotext)
if self.formattable:
self["key_yellow"].text = _("Format")