diff --git a/hagridctl/src/import.rs b/hagridctl/src/import.rs index 1321047..689ddb1 100644 --- a/hagridctl/src/import.rs +++ b/hagridctl/src/import.rs @@ -92,7 +92,7 @@ impl<'a> ImportStats<'a> { } fn progress_update(&self) { - if !self.count_total.is_multiple_of(10) { + if (self.count_total % 10) != 0 { return; } self.progress.set_message(&format!(