diff --git a/filtering.py b/filtering.py index 2ddd3f9..d4f8676 100644 --- a/filtering.py +++ b/filtering.py @@ -48,6 +48,17 @@ __filtering_info_text__ = ("The following files were excluded from the statistic "specified exclusion patterns") class Filtering(Outputable): + def output_html(self): + if __filtered_files__: + filtering_xml = "
" + filtering_xml += "

" + __filtering_info_text__ + "."+ "

" + + for i in __filtered_files__: + filtering_xml += "

" + i + "

" + + filtering_xml += "

" + print(filtering_xml) + def output_text(self): if __filtered_files__: print("\n" + textwrap.fill(__filtering_info_text__ + ":", width=terminal.get_size()[0]))