From 371cdda9110a4e86d6bf8aeb353f48f883376539 Mon Sep 17 00:00:00 2001 From: hsoft Date: Sun, 18 Oct 2009 09:29:33 +0000 Subject: [PATCH] dgpe cocoa: adjusted to MatchFactory removal. --HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40194 --- pe/cocoa/py/dg_cocoa.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pe/cocoa/py/dg_cocoa.py b/pe/cocoa/py/dg_cocoa.py index 150998b1..296178ce 100644 --- a/pe/cocoa/py/dg_cocoa.py +++ b/pe/cocoa/py/dg_cocoa.py @@ -39,7 +39,7 @@ class PyDupeGuru(PyApp): self.app.scanner.ignore_list.Clear() def clearPictureCache(self): - self.app.scanner.match_factory.cached_blocks.clear() + self.app.scanner.cached_blocks.clear() def doScan(self): return self.app.start_scanning() @@ -172,10 +172,10 @@ class PyDupeGuru(PyApp): #---Properties def setMatchScaled_(self,match_scaled): - self.app.scanner.match_factory.match_scaled = match_scaled + self.app.scanner.match_scaled = match_scaled def setMinMatchPercentage_(self,percentage): - self.app.scanner.match_factory.threshold = int(percentage) + self.app.scanner.threshold = int(percentage) def setMixFileKind_(self,mix_file_kind): self.app.scanner.mix_file_kind = mix_file_kind