Commit 8a2f0470 authored by Mikael Salson's avatar Mikael Salson Committed by Vidjil Team

controllers/ found map was not re-init at the right place.

found must be reset at each iteration.
Fix a014c5cb
parent 9792536e
......@@ -241,9 +241,9 @@ def stats():
keys += r.groupindex.keys()
keys += sorted(json_paths['result_file'].keys() + json_paths['fused_file'].keys())
found = {}
for row in d['query']:
found = {}
results_f = row.results_file.data_file
row_result = vidjil_utils.search_first_regex_in_file(regex, defs.DIR_RESULTS + results_f, STATS_READLINES)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment