Skip to content

Commit

Permalink
Use correct argument type for valueDecoder method (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
droideck committed Apr 24, 2023
1 parent becae60 commit ce6f7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyasn1/codec/ber/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,7 @@ def __call__(self, substrate, asn1Spec=None,

if state is stDecodeValue:
if not options.get('recursiveFlag', True) and not substrateFun: # deprecate this
substrateFun = lambda a, b, c: (a, b[:c])
substrateFun = lambda a, b, c, d: readFromStream(b, c)

original_position = substrate.tell()

Expand Down

0 comments on commit ce6f7f0

Please sign in to comment.