Skip to content

Commit

Permalink
Minor fix for pylint C0301: Line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
navchandar committed Sep 23, 2023
1 parent 5a8e0ec commit b8f9979
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ def _calc_energy_savings(pages_scanned):
energy_saved = energy_saved / 1000000
energy_saved = f"{energy_saved:.2f} Mega Watt hours"

savings = f"\nYou just saved {energy_saved} energy by not printing {pages_scanned} pages of paper!\n"
savings = f"\nYou just saved {energy_saved} energy by not printing \
{pages_scanned} pages of paper!\n"
if pages_scanned > 0:
print_color(savings, "Green")

Expand Down

0 comments on commit b8f9979

Please sign in to comment.