diff options
author | papoteur-mga <yves.brungard_git@gadz.org> | 2014-10-08 17:18:03 +0200 |
---|---|---|
committer | papoteur-mga <yves.brungard_git@gadz.org> | 2014-10-08 17:18:03 +0200 |
commit | d9d4dc3b6cc26abb5f52db1c6b3b2b4f849d61d9 (patch) | |
tree | 71226c01a3c52adf66e9e59fd9fa4f680b5149a1 /lib | |
parent | cb5dcca59c220f1ea92f8455f437160413afd089 (diff) | |
download | isodumper-d9d4dc3b6cc26abb5f52db1c6b3b2b4f849d61d9.tar isodumper-d9d4dc3b6cc26abb5f52db1c6b3b2b4f849d61d9.tar.gz isodumper-d9d4dc3b6cc26abb5f52db1c6b3b2b4f849d61d9.tar.bz2 isodumper-d9d4dc3b6cc26abb5f52db1c6b3b2b4f849d61d9.tar.xz isodumper-d9d4dc3b6cc26abb5f52db1c6b3b2b4f849d61d9.zip |
Fix wrong progress steps with small images
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/isodumper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index 801b9ea..cafb86d 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -405,7 +405,8 @@ class IsoDumper: mark = self.log.create_mark("end", self.log.get_end_iter(), False) self.logview.scroll_to_mark(mark, 0.05, True, 0.0, 1.0) progress.set_fraction(float(indice)/100) - indice +=1 + while (written > steps[indice]): + indice +=1 try: os.fsync(ofc) except: |