Commit 8c503480 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME
Browse files

Fix incorrect loading behaviour for Cmc scores

parent 884a6395
Pipeline #18434 failed with stage
in 52 minutes and 40 seconds
......@@ -441,11 +441,7 @@ def load_files(filenames, func_load):
res = []
for filepath in filenames:
try:
tmp = func_load(filepath)
if isinstance(tmp, list):
res += func_load(filepath)
else:
res.append(tmp)
res.append(func_load(filepath))
except:
raise
return res
......
Supports Markdown
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