aboutsummaryrefslogtreecommitdiffstats
path: root/cards/iso_7816_4_card.py
diff options
context:
space:
mode:
authorhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-05-19 02:24:48 +0000
committerhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-05-19 02:24:48 +0000
commit60c80e35c7abbfcacd01f64fe42726e7155eac16 (patch)
tree2b1dc34ef4a999d4f6614e4b51c3873a32625ef7 /cards/iso_7816_4_card.py
parent80c19becfac73076cb7e36c7f232dea4be735860 (diff)
nicer TLV parsing, (more ugly code)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@59 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'cards/iso_7816_4_card.py')
-rw-r--r--cards/iso_7816_4_card.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cards/iso_7816_4_card.py b/cards/iso_7816_4_card.py
index 7725829..cb49202 100644
--- a/cards/iso_7816_4_card.py
+++ b/cards/iso_7816_4_card.py
@@ -30,7 +30,7 @@ class ISO_7816_4_Card(Card):
def cmd_parsetlv(self):
"Decode the TLV data in the last response"
- print TLV_utils.decode(self.last_result)
+ print TLV_utils.decode(self.last_result.data)
ATRS = list(Card.ATRS)
ATRS.extend( [