vicc: fixed type error in nPA generation
fixes https://github.com/frankmorgner/vsmartcard/issues/247
This commit is contained in:
@@ -466,7 +466,7 @@ class CardGenerator(object):
|
||||
else:
|
||||
dg17 = None
|
||||
if (CommunityID.rstrip() != "<NotOnChip>"):
|
||||
dg18 = pack([(0x72, 0, [(0x04, 0, bytes(CommunityID_Binary, "ascii"))])], True)
|
||||
dg18 = pack([(0x72, 0, [(0x04, 0, CommunityID_Binary)])], True)
|
||||
else:
|
||||
dg18 = None
|
||||
if (ResidencePermit1.rstrip() != "<NotOnChip>"):
|
||||
|
||||
Reference in New Issue
Block a user