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

Fail with excplicit message when unable to load results file

Previously, we would simply show an empty results window. Not very
helpful.
This commit is contained in:
Virgil Dupras
2016-06-07 21:34:04 -04:00
parent ef8f8f0e44
commit 80f659858c
4 changed files with 15 additions and 10 deletions

View File

@@ -222,10 +222,7 @@ class Results(Markable):
do_match(other_files[0], other_files[1:], group)
self.apply_filter(None)
try:
root = ET.parse(infile).getroot()
except Exception:
return
root = ET.parse(infile).getroot()
group_elems = list(root.getiterator('group'))
groups = []
marked = set()