diff options
| author | jvoisin | 2019-07-18 01:29:50 +0200 |
|---|---|---|
| committer | jvoisin | 2019-07-18 01:30:28 +0200 |
| commit | 00d728f6ccc373d682b0f1c3352c093030eee8c6 (patch) | |
| tree | 50752781fc6b800481b3f1509c527d73c2cd731b | |
| parent | 65cfd110f9da4128fc8ba02738d118ad8da7265a (diff) | |
Display the filename along with the "No metadata found" message
| -rwxr-xr-x | mat2 | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -83,7 +83,7 @@ def show_meta(filename: str): | |||
| 83 | def __print_meta(filename: str, metadata: dict, depth: int = 1): | 83 | def __print_meta(filename: str, metadata: dict, depth: int = 1): |
| 84 | padding = " " * depth*2 | 84 | padding = " " * depth*2 |
| 85 | if not metadata: | 85 | if not metadata: |
| 86 | print(padding + "No metadata found") | 86 | print(padding + "No metadata found in %s." % filename) |
| 87 | return | 87 | return |
| 88 | 88 | ||
| 89 | print("[%s] Metadata for %s:" % ('+'*depth, filename)) | 89 | print("[%s] Metadata for %s:" % ('+'*depth, filename)) |
