From 572d28cd80f72a865840afdb4aa5bf98b8d63b9b Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Tue, 9 Feb 2021 20:42:45 -0500 Subject: [PATCH] Remove unnecessary plus signs to concat strings --- lightcards/display.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lightcards/display.py b/lightcards/display.py index 73b2a39..a37f28c 100644 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -82,11 +82,11 @@ class Display: bar_middle = self.current_card().printStar() bar_end = ( f"] [{len(self.ntotal())}/{str(len(self.stack))} starred] " - + f"[{percent}% (" - + str(self.obj.getIdx() + 1).zfill(len(str(len(self.stack)))) - + f"/{str(len(self.stack))})] [" - + f"{self.headers[self.current_card().getSide()]} (" - + f"{str(int(self.current_card().getSide()) + 1)})] " + f"[{percent}% (" + f"{str(self.obj.getIdx()).zfill(len(str(len(self.stack))))}" + f"/{str(len(self.stack))})] [" + f"{self.headers[self.current_card().getSide()]} (" + f"{str(int(self.current_card().getSide()) + 1)})]" ) # Put it all togethor -- 2.39.2