From f8ed3a58e0cc7faa678d83bcdce27ff2da362dd2 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 14 Feb 2021 09:31:07 -0500 Subject: [PATCH] Zfill percent done to 3 places --- lightcards/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightcards/display.py b/lightcards/display.py index 35a6539..b1e6022 100644 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -322,7 +322,7 @@ class Display: else: percent = str( round(self.obj.index / (len(self.stack) - 1) * 100) - ).zfill(2) + ).zfill(3) # Print yellow if starred if self.current_card().starred: -- 2.39.2