git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correctly parse output of new epopen command
[enigma2.git]
/
lib
/
python
/
Plugins
/
Extensions
/
DVDBurn
/
DVDToolbox.py
diff --git
a/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
b/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
index 32666af8e7ead348b0f231e628aa59844b8f4d7e..0c375129d71d57d0b46b9f40131f6e3ff529e03d 100644
(file)
--- 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 = ""
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:
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)
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")
self["details"].setText(infotext)
if self.formattable:
self["key_yellow"].text = _("Format")