]> git.armaanb.net Git - lightcards.git/commitdiff
Fix str + str to int + int concatenation issue
authorArmaan Bhojwani <me@armaanb.net>
Tue, 9 Feb 2021 16:27:16 +0000 (11:27 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 9 Feb 2021 16:27:16 +0000 (11:27 -0500)
lightcards/display.py

index 2a25354fa995ad2a0f0d7405e7b2d243935afdaf..e0b4f64837a477e4efc55a80fa9cda8a469e5a6a 100644 (file)
@@ -84,7 +84,7 @@ class Display:
             + str(self.obj.getIdx() + 1).zfill(len(str(len(self.stack))))
             + f"/{str(len(self.stack))})] ["
             + f"{self.headers[self.current_card().getSide()]} ("
-            + f"{str(self.current_card().getSide()) + str(1)})] "
+            + f"{str(int(self.current_card().getSide()) + 1)})] "
         )
 
         # Put it all togethor