summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmaan Bhojwani <me@armaanb.net>2021-02-14 09:31:07 -0500
committerArmaan Bhojwani <me@armaanb.net>2021-02-14 09:31:07 -0500
commitf8ed3a58e0cc7faa678d83bcdce27ff2da362dd2 (patch)
treed0bcb76071d0b27c076ff30038459046bc67501f
parente998210865eb94a14e4ab472fb18fc97dc0012b2 (diff)
downloadlightcards-f8ed3a58e0cc7faa678d83bcdce27ff2da362dd2.tar.gz
Zfill percent done to 3 places
-rw-r--r--lightcards/display.py2
1 files changed, 1 insertions, 1 deletions
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: