From: Armaan Bhojwani Date: Sun, 14 Feb 2021 14:31:07 +0000 (-0500) Subject: Zfill percent done to 3 places X-Git-Tag: v0.7.0~6 X-Git-Url: https://git.armaanb.net/atreides/commit/?p=lightcards.git;a=commitdiff_plain;h=f8ed3a58e0cc7faa678d83bcdce27ff2da362dd2 Zfill percent done to 3 places --- 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: