mirror of
https://github.com/OMGeeky/twba.uploader.git
synced 2026-01-06 11:09:33 +01:00
fix part numbers starting with 0
This commit is contained in:
@@ -244,7 +244,7 @@ fn get_part_number_from_path(path: &Path) -> Result<usize> {
|
||||
let part_number = part_number
|
||||
.parse::<usize>()
|
||||
.context("could not parse path")?;
|
||||
return Ok(part_number);
|
||||
return Ok(part_number + 1);
|
||||
}
|
||||
warn!("path has not the expected extension (.mp4): {:?}", path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user