]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/display.py
Zfill percent done to 3 places
[lightcards.git] / lightcards / display.py
index 35a6539bad16f50870ae220d6f045b4eef6ee8f9..b1e6022728fd0102d2b7a173983d4ed23cdcd797 100644 (file)
@@ -322,7 +322,7 @@ class Display:
         else:
             percent = str(
                 round(self.obj.index / (len(self.stack) - 1) * 100)
         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:
 
         # Print yellow if starred
         if self.current_card().starred: