Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
caternuson committed Mar 4, 2020
1 parent 87c525d commit c101947
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adafruit_rockblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def data_out(self, buf):
def text_out(self):
"""The text in the outbound buffer."""
text = None
#TODO: add better check for non-text in buffer
#pylint: disable=broad-except
try:
text = self._buf_out.decode()
except Exception:
Expand Down

0 comments on commit c101947

Please sign in to comment.