mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-23 07:01:39 +00:00
Fix empty ignore List dialog bug in PE
Re-instantiating a new scanner for PE made the ignore list dialog target the wrong ignore list. We now only instantiate a scanner once. Fixes #253
This commit is contained in:
@@ -17,10 +17,10 @@ from .result_table import ResultTable
|
||||
class DupeGuru(DupeGuruBase):
|
||||
NAME = __appname__
|
||||
METADATA_TO_READ = ['size', 'mtime', 'dimensions', 'exif_timestamp']
|
||||
SCANNER_CLASS = ScannerPE
|
||||
|
||||
def __init__(self, view):
|
||||
DupeGuruBase.__init__(self, view)
|
||||
self.scanner = ScannerPE()
|
||||
self.scanner.cache_path = op.join(self.appdata, 'cached_pictures.db')
|
||||
|
||||
def _get_dupe_sort_key(self, dupe, get_group, key, delta):
|
||||
|
||||
Reference in New Issue
Block a user