Skip to content

Commit

Permalink
One less function call
Browse files Browse the repository at this point in the history
  • Loading branch information
lmacken committed Jul 22, 2013
1 parent 51e2e22 commit 730a3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unicards/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

def unicard(card):
if card.startswith('10'):
card = card.replace('10', 'T')
card = 'T' + card[2]
face, suit = card.upper()
c = eval("u'\\U0001f0{}{}'".format(
unicode_suits[suits.index(suit)],
Expand Down

0 comments on commit 730a3c3

Please sign in to comment.