From e9d7229dd400196d57a54da5934a42e619a33975 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 31 Jan 2021 17:18:54 -0500 Subject: [PATCH] Change how percent done is calculated Last card is no longer 100% --- lightcards/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightcards/display.py b/lightcards/display.py index 7e09cdc..3f55a56 100755 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -35,7 +35,7 @@ class Display(): percent = "100" else: percent = str(round(self.obj.getIdx() / - (len(self.stack) - 1) * 100)).zfill(3) + len(self.stack) * 100)).zfill(3) # Print yellow if starred self.win.addstr(mlines - 1, 0, "[", curses.color_pair(1)) -- 2.39.2