summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Client/Frame.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py
index 95544f8b9..457baf3ac 100644
--- a/src/lib/Client/Frame.py
+++ b/src/lib/Client/Frame.py
@@ -108,8 +108,9 @@ class Frame:
except:
self.logger.error("Unexpected tool failure",
exc_info=1)
- for cfile in [cfl for cfl in config.findall(".//Path[@type='file']") \
- if cfl.get('name') in self.__important__]:
+ for cfile in [cfl for cfl in config.findall(".//Path") \
+ if cfl.get('name') in self.__important__ and \
+ cfl.get('type') == 'file']:
tl = [t for t in self.tools if t.handlesEntry(cfile) \
and t.canVerify(cfile)]
if tl: