Skip to content

Commit e58b306

Browse files
author
brentru
committed
update example, black
1 parent 6d26dc0 commit e58b306

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adafruit_fona/adafruit_fona.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def read_sms(self, sms_slot):
597597
self._uart.readinto(self._buf)
598598
message = bytes(self._buf).decode()
599599
self._uart.reset_input_buffer()
600-
self.read_line() # eat 'OK'
600+
self.read_line() # eat 'OK'
601601

602602
return sender, message
603603

examples/fona_sms_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
print("FONA Ready!")
3030
while True:
31-
if fona.in_waiting: # data is available from FONA
32-
notification_buf = fona._read_line()[1]
31+
if fona.in_waiting: # data is available from FONA
32+
notification_buf = fona.read_line()[1]
3333
# Split out the sms notification slot num.
3434
notification_buf = notification_buf.decode()
3535
sms_slot = notification_buf.split(",")[1]

0 commit comments

Comments
 (0)