Commit 00d728f6 authored by jvoisin's avatar jvoisin

Display the filename along with the "No metadata found" message

parent 65cfd110
Pipeline #25924 passed with stages
in 3 minutes and 40 seconds
......@@ -83,7 +83,7 @@ def show_meta(filename: str):
def __print_meta(filename: str, metadata: dict, depth: int = 1):
padding = " " * depth*2
if not metadata:
print(padding + "No metadata found")
print(padding + "No metadata found in %s." % filename)
return
print("[%s] Metadata for %s:" % ('+'*depth, filename))
......
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