Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
szszszsz committed Nov 18, 2022
1 parent b37ebe4 commit 3042884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynitrokey/nk3/otp_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _custom_encode(self, structure: Optional[List] = None) -> bytes:
if not structure:
return b""

def transform(d: typing.Union[tlv8.Entry | RawBytes | None]) -> bytes:
def transform(d: typing.Union[tlv8.Entry, RawBytes, None]) -> bytes:
if not d:
return b""
if isinstance(d, RawBytes):
Expand Down

0 comments on commit 3042884

Please sign in to comment.