Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Commit 8ba4e9b

Browse files
committed
Remove unneeded chr()
1 parent 49c9a43 commit 8ba4e9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

u2flib_host/hid_transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def ping(self, msg=b'Hello U2F'):
147147
return resp
148148

149149
def lock(self, lock_time=10):
150-
self.call(CMD_LOCK, chr(lock_time))
150+
self.call(CMD_LOCK, lock_time)
151151

152152
def _send_req(self, cid, cmd, data):
153153
size = len(data)

0 commit comments

Comments
 (0)