From b8f9979af3bb14b1829b90be742ec5a97684b3f1 Mon Sep 17 00:00:00 2001 From: navchandar <12165092+navchandar@users.noreply.github.com> Date: Sat, 23 Sep 2023 22:01:10 +0530 Subject: [PATCH] Minor fix for pylint C0301: Line too long --- scanner/scanner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scanner/scanner.py b/scanner/scanner.py index 3c05f94..e08ab79 100644 --- a/scanner/scanner.py +++ b/scanner/scanner.py @@ -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")