From 56bd29b373d2de1a98ae7d41daa598e676a64088 Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Mon, 27 Oct 2008 15:34:19 +0000 Subject: [PATCH] correctly parse output of new epopen command --- lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py | 4 ++-- 1 file 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") -- 2.30.2