diff --git a/src/panhunt.py b/src/panhunt.py index b94ce38..161552f 100644 --- a/src/panhunt.py +++ b/src/panhunt.py @@ -77,7 +77,7 @@ def display_report(report: Report) -> None: if len(report.interesting_files) > 0: print(colorama.Fore.RED + - 'Interesting Files to check separately, probably a permission issue:') + 'Interesting Files to check separately, probably a permission or file size issue:') for interesting in report.interesting_files: print(colorama.Fore.YELLOW + '\t- ' + f'{panutils.unicode_to_ascii(interesting.abspath)} ({panutils.unicode_to_ascii(panutils.size_friendly(interesting.size))})') diff --git a/src/report.py b/src/report.py index b5c8e12..ad88be6 100644 --- a/src/report.py +++ b/src/report.py @@ -65,7 +65,7 @@ def create_text_report(self) -> None: report += newline if len(self.interesting_files) > 0: - report += 'Interesting Files to check separately, probably a permission issue:' + newline + report += 'Interesting Files to check separately, probably a permission or file size issue:' + newline for interesting in sorted(self.interesting_files, key=lambda x: x.basename): report += f'{interesting.abspath} ({panutils.size_friendly(interesting.size)}){newline}' report += f'Error: {interesting.errors}{newline}'