Skip to content

Commit 010021e

Browse files
committed
Fixing the identation
1 parent 1277a73 commit 010021e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

chordspy/connection.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,10 @@ def notification_handler(sender, data):
432432
for i in range(0, self.ble_connection.NEW_PACKET_LEN, self.ble_connection.SINGLE_SAMPLE_LEN):
433433
sample_data = data[i:i+self.ble_connection.SINGLE_SAMPLE_LEN]
434434
if len(sample_data) == self.ble_connection.SINGLE_SAMPLE_LEN:
435-
channels = [int.from_bytes(sample_data[i:i+2], byteorder='big', signed=True)
436-
for i in range(1, len(sample_data), 2)]
435+
channels = [
436+
int.from_bytes(sample_data[i:i + 2], byteorder='big', signed=True)
437+
for i in range(1, len(sample_data), 2)
438+
]
437439
self.last_sample = channels
438440
self.ble_samples_received += 1
439441

0 commit comments

Comments
 (0)