1
0

Fix "== None" linter fails

Credit to Zoltan Konder for pointing me to this issue.
This commit is contained in:
Jeremy Rand
2022-05-24 02:39:11 +00:00
parent cac4b6f92c
commit 1aa444e0f8
4 changed files with 4 additions and 4 deletions

View File

@@ -228,7 +228,7 @@ class CKCCClient(HardwareClientBase):
resp = self.dev.send_recv(CCProtocolPacker.sign_transaction(dlen, chk, finalize=finalize),
timeout=None)
if resp != None:
if resp is not None:
raise ValueError(resp)
@runs_in_hwd_thread