mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
fix preload.clear_output_folder position
This commit is contained in:
parent
f64df08623
commit
722f472e46
1 changed files with 2 additions and 2 deletions
|
|
@ -246,8 +246,7 @@ async fn main() -> Result<()> {
|
|||
session
|
||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||
.await?;
|
||||
// cleanup tmp dir
|
||||
preload.clear_output_folder(&i)?;
|
||||
|
||||
if config.debug {
|
||||
println!("\t\t\tadd `{i}` to index.")
|
||||
}
|
||||
|
|
@ -261,6 +260,7 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
}
|
||||
}
|
||||
preload.clear_output_folder(&i)?;
|
||||
}
|
||||
}
|
||||
if config.debug {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue