fix: Use print_status() for throughput reporting in progress tracker
The print_status() method properly handles printing with the live progress bar, whereas direct .print() calls don't work correctly with Progress in live mode. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,7 @@ class ProgressTracker:
|
||||
elapsed = time.time() - self.start_time
|
||||
if elapsed > 0:
|
||||
rate = self.processed / elapsed
|
||||
self.progress.print(
|
||||
self.print_status(
|
||||
f"[cyan]Progress: {self.processed:,}/{self.total:,} items "
|
||||
f"({rate:.0f} items/sec, {elapsed/3600:.1f}h elapsed)[/cyan]"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user