1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

Fixes here and there to make dupeGuru PE run.

This commit is contained in:
Virgil Dupras
2010-08-15 14:23:16 +02:00
parent 4c273a7910
commit 12e6c400b9
3 changed files with 9 additions and 3 deletions

View File

@@ -96,6 +96,8 @@ class DupeGuru(RegistrableApplication, Broadcaster):
def _get_file(self, str_path):
path = Path(str_path)
f = fs.get_file(path, self.directories.fileclasses)
if f is None:
return None
try:
f._read_all_info(attrnames=self.data.METADATA_TO_READ)
return f