Unverified Commit 66b3c3a2 authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Update task.py

parent 59b5471c
......@@ -953,10 +953,7 @@ class ConfigurableTask(Task):
def process_results(self, doc, results):
if callable(self.config.process_results):
try:
return self.config.process_results(self, doc, results)
except:
return self.config.process_results(doc, results)
return self.config.process_results(doc, results)
result_dict = {}
use_metric = list(self._metric_fn_list.keys())
......
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