Skip to content

Commit 857f696

Browse files
committed
improve HTML output
1 parent 151bec1 commit 857f696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

memory_inventory/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ def write_tables(self, save_dir: Path, html_template: str) -> None:
12161216
for cls, table_data in duplicate_objects_by_type.items():
12171217
with open(save_dir / f'duplicate_{qual_name(cls)}.html', 'wb') as f:
12181218
f.write(html_template.replace('$body$', '\n'.join((
1219-
"<h2>Duplicate instances</h2>",
1219+
f"<h2>Duplicate {qual_name(cls)} instances</h2>",
12201220
''.join(render_html_table(*table_data, '')) or '<p>None found.</p>',
12211221
))).encode('utf-8'))
12221222

0 commit comments

Comments
 (0)