]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/deck.py
Fix pickle implementation
[lightcards.git] / lightcards / deck.py
index f5ad58310a223895a97f8570dbbc2e8b90acbdb0..110c5b4fdcee15ab50a27c5eca2ea52dfa3a0ee7 100644 (file)
@@ -15,6 +15,9 @@ class Card:
         if len(inp) >= 2:
             self.back = inp[1]
 
+    def __str__(self):
+        return f"{self.front}, {self.back}"
+
     def unStar(self):
         self.starred = False