From 7271267952867053e867cd96793dffe66977d1ac Mon Sep 17 00:00:00 2001 From: Stefan Rupp Date: Wed, 20 Jan 2021 17:52:47 +0100 Subject: [PATCH] js-cardgame needs lowercase 'Z' and 'N' --- wiz_game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiz_game.py b/wiz_game.py index cf3e56c..4ee8262 100644 --- a/wiz_game.py +++ b/wiz_game.py @@ -26,7 +26,7 @@ class Card: if self.color and self.color != '-': s = "{}{:02d}".format(self.color, self.value) else: - s = "{}{}".format(self.value, self.idx) + s = "{}{}".format(self.value.lower(), self.idx) return s