1
0
Fork 0

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

This commit is contained in:
jvoisin 2019-07-18 01:29:50 +02:00
parent 65cfd110f9
commit 00d728f6cc
1 changed files with 1 additions and 1 deletions

2
mat2
View File

@ -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))