Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
fogodev committed May 20, 2024
1 parent 63da1ea commit 1aa2f4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/crates/heavy-lifting/src/media_processor/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,10 @@ async fn dispatch_thumbnailer_tasks(
)
.await?;

if file_paths.is_empty() {
return Ok((0, Vec::new()));
}

let thumbs_count = file_paths.len() as u64;

let first_materialized_path = file_paths[0].materialized_path.clone();
Expand Down

0 comments on commit 1aa2f4b

Please sign in to comment.