Fixed the same buf from mkisofs in genisoimage

This commit is contained in:
Sergio Costas 2017-02-07 01:05:23 +01:00
parent 7173624e4a
commit 4b21a1c3aa
2 changed files with 4 additions and 1 deletions

View file

@ -77,7 +77,9 @@ class genisoimage(devedeng.executor.executor):
return
l = data[0].split("%")
p = float(l[0])
l0a = l[0]
l0b = l0a.replace(",", ".")
p = float(l0b)
self.progress_bar[1].set_fraction(p / 100.0)
self.progress_bar[1].set_text("%.1f%%" % (p))