Revert "Update card.py"

This reverts commit b4ea1ad8e584cc4bcdd5386346b8dff343402b04.