fix: console import progress off-by-one (#24777)
* fix: importer console progress off-by-one * fix: improve progress message * chore: typo --------- Co-authored-by: Robert Duncan <robir@puter.local> Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
This commit is contained in:
parent
064d97cafe
commit
d6b126ac6f
1 changed files with 2 additions and 2 deletions
|
|
@ -149,8 +149,8 @@ class Importer:
|
|||
|
||||
if self.console:
|
||||
update_progress_bar(
|
||||
f"Importing {total_payload_count} records",
|
||||
current_index,
|
||||
f"Importing {self.doctype}: {total_payload_count} records",
|
||||
current_index - 1,
|
||||
total_payload_count,
|
||||
)
|
||||
elif total_payload_count > 5:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue