From 5a36f15667f5b2fd6765b7eb76e29955c84f1546 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Mon, 7 Mar 2011 11:55:37 +0100 Subject: [PATCH] Fixed bug causing PE progress report to be (very) wrong during matching. --- core_pe/matchbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_pe/matchbase.py b/core_pe/matchbase.py index 6e2e0de9..30f513c1 100644 --- a/core_pe/matchbase.py +++ b/core_pe/matchbase.py @@ -140,7 +140,7 @@ def getmatches(pictures, cache_path, threshold=75, match_scaled=False, j=job.nul for result in ready: matches += result.get() async_results.remove(result) - comparison_count += 1 + comparison_count += 1 progress_msg = tr("Performed %d/%d chunk matches") % (comparison_count, len(comparisons_to_do)) j.set_progress(comparison_count, progress_msg)