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