mirror of
https://github.com/rumanzo/bt2qbt.git
synced 2024-11-25 11:52:56 +01:00
Fix a bug
This commit is contained in:
parent
04a0b7c93c
commit
c39b5b41a9
@ -151,7 +151,11 @@ func (newstructure *NewTorrentStructure) FillMissing() {
|
||||
newstructure.FillSavePaths()
|
||||
if newstructure.Unfinished != nil {
|
||||
newstructure.Pieces = newstructure.FillWholePieces("0")
|
||||
if newstructure.HasFiles {
|
||||
newstructure.PiecePriority = newstructure.FillPiecesParted()
|
||||
} else {
|
||||
newstructure.PiecePriority = newstructure.FillWholePieces("1")
|
||||
}
|
||||
} else {
|
||||
if newstructure.HasFiles {
|
||||
newstructure.Pieces = newstructure.FillPiecesParted()
|
||||
|
Loading…
Reference in New Issue
Block a user