PB: Fix panic
This commit is contained in:
parent
bdf6f97923
commit
a29054520d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ impl DataSource for PBDataSource {
|
||||||
build = &build[pos + 10..];
|
build = &build[pos + 10..];
|
||||||
let end = build.find('\\').unwrap();
|
let end = build.find('\\').unwrap();
|
||||||
items.push(&build[..end]);
|
items.push(&build[..end]);
|
||||||
build = &build[pos + 22..];
|
build = &build[end + 20..];
|
||||||
}
|
}
|
||||||
|
|
||||||
builds.push((positions[0].to_owned(), vec![json!({
|
builds.push((positions[0].to_owned(), vec![json!({
|
||||||
|
|
Loading…
Add table
Reference in a new issue