Skip to content

Commit

Permalink
fixed warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
zbalkan committed Dec 11, 2024
1 parent 94cfb37 commit ecff077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/panhunt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))})')
Expand Down
2 changes: 1 addition & 1 deletion src/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down

0 comments on commit ecff077

Please sign in to comment.