diff options
author | SARL ENR-68 <david@david.david> | 2014-10-20 18:32:50 +0200 |
---|---|---|
committer | SARL ENR-68 <david@david.david> | 2014-10-20 18:32:50 +0200 |
commit | 8eb9d7b8fb1e625cf6fdea922cd6b68e7cd7ee1d (patch) | |
tree | c9ece3194cd4b1267f2ad61f5d608e39cb4934a1 /lib/isodumper.py | |
parent | 96eb4e2d67e26597cc5bb8d50b295030850f633d (diff) | |
download | isodumper-8eb9d7b8fb1e625cf6fdea922cd6b68e7cd7ee1d.tar isodumper-8eb9d7b8fb1e625cf6fdea922cd6b68e7cd7ee1d.tar.gz isodumper-8eb9d7b8fb1e625cf6fdea922cd6b68e7cd7ee1d.tar.bz2 isodumper-8eb9d7b8fb1e625cf6fdea922cd6b68e7cd7ee1d.tar.xz isodumper-8eb9d7b8fb1e625cf6fdea922cd6b68e7cd7ee1d.zip |
Fix wrong progress steps with small images
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-x | lib/isodumper.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index 15eff35..6d1523a 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -285,6 +285,9 @@ class IsoDumper: indice=1 written=0 ncuts=b/bs + while ncuts <= 100: + bs=bs/2 + ncuts=b/bs for i in xrange(0,ncuts): try: buf=ifc.read(bs) |