Always write popularity if we get to the end of the block and haven't

failed
This commit is contained in:
Tom Parker-Shemilt 2021-08-21 14:37:22 +01:00
parent 1997dd882c
commit 2d88ee0a2a

View file

@ -571,6 +571,7 @@ async fn main() -> Result<(), Error> {
_ => {}
}
}
fs::write("results/popularity.yaml", serde_yaml::to_string(&popularity_data)?)?;
to_check.sort_by(|a,b| {
let get_time = |k| {