Skip to content

Commit

Permalink
Card:parse fix var names
Browse files Browse the repository at this point in the history
  • Loading branch information
peerchemist committed Oct 11, 2018
1 parent 4a563b6 commit 7001e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ def export(self, deckid: str, filename: str):
def parse(self, deckid: str, cardid: str) -> None:
'''parse card from txid and print data'''

deck = self.__find_deck(deck_id)
cards = list(get_card_transfer(provider, deck, card_id))
deck = self.__find_deck(deckid)
cards = list(get_card_transfer(provider, deck, cardid))

for i in cards:
pprint(i.to_json())
Expand Down

0 comments on commit 7001e01

Please sign in to comment.