mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 16:38:43 +00:00
Properly show 100.00% and reduce number of progress bar updates during a torrent creation
This commit is contained in:
parent
8c283875fb
commit
e73c65e602
1 changed files with 3 additions and 2 deletions
|
@ -179,6 +179,7 @@ def makeinfo(path, piece_length, progress, name = None,
|
||||||
h.close()
|
h.close()
|
||||||
if done > 0:
|
if done > 0:
|
||||||
pieces.append(sh.digest())
|
pieces.append(sh.digest())
|
||||||
|
progress(piece_count, num_pieces)
|
||||||
|
|
||||||
if name is not None:
|
if name is not None:
|
||||||
assert isinstance(name, unicode)
|
assert isinstance(name, unicode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue