pycrate_asn1rt: fix OPEN type object value ASN1-encoding

This commit is contained in:
mitshell 2017-07-12 22:43:57 +02:00
parent bbdbcc31e6
commit 2ebe34a29f
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ Alternative single value: Python 2-tuple
if isinstance(self._val[0], tuple):
ident = self._val[0][1]
else:
ident = self._val[0]
ident = self._val[0]._name
const_tr = self._build_const_tr()
if ident in const_tr:
Obj = const_tr[ident]