From: Armaan Bhojwani Date: Wed, 10 Feb 2021 01:42:45 +0000 (-0500) Subject: Remove unnecessary plus signs to concat strings X-Git-Tag: v0.6.0~24 X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=commitdiff_plain;h=572d28cd80f72a865840afdb4aa5bf98b8d63b9b Remove unnecessary plus signs to concat strings --- 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