diff options
author | Armaan Bhojwani <me@armaanb.net> | 2021-02-14 09:31:07 -0500 |
---|---|---|
committer | Armaan Bhojwani <me@armaanb.net> | 2021-02-14 09:31:07 -0500 |
commit | f8ed3a58e0cc7faa678d83bcdce27ff2da362dd2 (patch) | |
tree | d0bcb76071d0b27c076ff30038459046bc67501f | |
parent | e998210865eb94a14e4ab472fb18fc97dc0012b2 (diff) | |
download | lightcards-f8ed3a58e0cc7faa678d83bcdce27ff2da362dd2.tar.gz |
Zfill percent done to 3 places
-rw-r--r-- | lightcards/display.py | 2 |
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: |