Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make black happy.
  • Loading branch information
rrottmann committed Feb 26, 2021
commit 58ff16a096742469ebef469b5ba1fcb22ac6a44c
4 changes: 2 additions & 2 deletions adafruit_atecc/adafruit_atecc.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def nonce(self, data, mode=0, zero=0x0000):
time.sleep(1 / 1000)
if mode == 0x03:
assert (
calculated_nonce[0] == 0x00
calculated_nonce[0] == 0x00
), "Incorrectly calculated nonce in pass-thru mode"
self.idle()
return calculated_nonce
Expand Down Expand Up @@ -470,7 +470,7 @@ def write_config(self, data):
if i == 84:
# can't write
continue
self._write(0, i // 4, data[i: i + 4])
self._write(0, i // 4, data[i : i + 4])

def _write(self, zone, address, buffer):
self.wakeup()
Expand Down