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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user