diff options
Diffstat (limited to 'src/card.py')
-rw-r--r-- | src/card.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/card.py b/src/card.py index 9f888e6..c2243a6 100644 --- a/src/card.py +++ b/src/card.py @@ -9,5 +9,5 @@ from hashlib import md5 Card = namedtuple('Card', ['front', 'back']) -def getId(card: Card) -> int: - return int(md5((card.front + card.back).encode("utf-8")).hexdigest(), 16) +def getId(card: Card) -> str: + return md5((card.front + card.back).encode("utf-8")).hexdigest() |