From 4b21a1c3aa6a7650098648a8f2fb3be3029b08e6 Mon Sep 17 00:00:00 2001 From: Sergio Costas Date: Tue, 7 Feb 2017 01:05:23 +0100 Subject: [PATCH] Fixed the same buf from mkisofs in genisoimage --- HISTORY.md | 1 + src/devedeng/genisoimage.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index f39ba57..edb1b23 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,7 @@ * version 4.8.7 (2017-01-29) * Allows to translate the "Play all" text in the DVD menu * Fixed mkisofs bug with some locales + * version 4.8.6 (2016-12-14) * Now ensures that the average bitrate is never smaller than the minimum bitrate * Now the matroska and divx files have the right extension diff --git a/src/devedeng/genisoimage.py b/src/devedeng/genisoimage.py index a565097..9cb1c47 100644 --- a/src/devedeng/genisoimage.py +++ b/src/devedeng/genisoimage.py @@ -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))