1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

[#132 state:fixed] Added a debug mode preference as well as extra debug loggings.

This commit is contained in:
Virgil Dupras
2011-01-26 12:50:44 +01:00
parent 21efef42f7
commit 6abbeaf987
23 changed files with 619 additions and 127 deletions

View File

@@ -66,6 +66,7 @@ class Scanner:
ScanType.Tag: lambda f: [engine.getwords(str(getattr(f, attrname))) for attrname in SCANNABLE_TAGS if attrname in self.scanned_tags],
}[self.scan_type]
for f in j.iter_with_progress(files, tr("Read metadata of %d/%d files")):
logging.debug("Reading metadata of {}".format(str(f.path)))
f.words = func(f)
return engine.getmatches(files, j=j, **kw)