diff options
author | hploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b> | 2007-01-17 09:14:35 +0000 |
---|---|---|
committer | hploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b> | 2007-01-17 09:14:35 +0000 |
commit | a7a36c1dd2701a2e6ffaf76f45bc9ffdc9de1c1e (patch) | |
tree | 313f08b7abb1ad9cd34faaba90b38e9bd75c1f9e /cards/iso_7816_4_card.py | |
parent | 42cc88fc9f9b9245c884ac88239d637f8974e14d (diff) |
New AIDs, name can be None now
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@167 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'cards/iso_7816_4_card.py')
-rw-r--r-- | cards/iso_7816_4_card.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cards/iso_7816_4_card.py b/cards/iso_7816_4_card.py index 521012b..ed61943 100644 --- a/cards/iso_7816_4_card.py +++ b/cards/iso_7816_4_card.py @@ -128,7 +128,7 @@ class ISO_7816_4_Card(Card): """Select an application on the card. application can be given either as hexadecimal aid or by symbolic name (if known).""" - s = [a for a,b in self.APPLICATIONS.items() if b[0].lower() == application.lower()] + s = [a for a,b in self.APPLICATIONS.items() if b[0] is not None and b[0].lower() == application.lower()] if len(s) > 0: aid = s[0] else: |