mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-04 00:55:34 +00:00
Pieces bar "calculation" bug fix.
This commit is contained in:
parent
99f2dbd178
commit
856a6cd1ab
1 changed files with 2 additions and 2 deletions
|
@ -1014,8 +1014,8 @@ class Torrent(object):
|
|||
# Completed Piece
|
||||
pieces[idx] = 3
|
||||
continue
|
||||
elif availability[idx] > 1:
|
||||
# Piece not downloaded nor beeing downloaded
|
||||
elif availability[idx] > 0:
|
||||
# Piece not downloaded nor beeing downloaded but available
|
||||
pieces[idx] = 1
|
||||
continue
|
||||
# If we reached here, it means the piece is missing, ie, there's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue