mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
remove extra condition
This commit is contained in:
parent
41b0a02899
commit
d4fc7a9583
1 changed files with 1 additions and 3 deletions
|
|
@ -208,9 +208,7 @@ async fn main() -> Result<()> {
|
||||||
keep_files.len()
|
keep_files.len()
|
||||||
);
|
);
|
||||||
preload.commit(&i, bytes, Some(keep_files))?;
|
preload.commit(&i, bytes, Some(keep_files))?;
|
||||||
if config.enable_upload {
|
if !config.enable_upload {
|
||||||
todo!()
|
|
||||||
} else {
|
|
||||||
session
|
session
|
||||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||||
.await?
|
.await?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue