Skip to content
Snippets Groups Projects
Commit d9d9c00e authored by Alán Muñoz's avatar Alán Muñoz
Browse files

tweak(meta): ensure sorted fnames when multimeta

parent fc62063c
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ def find_file(root_dir, regex):
print(
"Warning:Metadata: More than one logfile found. Defaulting to first option."
)
file = [file[0]]
file = [sorted(file)[0]]
if len(file) == 0:
print("Warning:Metadata: No valid logfile found.")
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment