Skip to content

Commit

Permalink
strip newlines from result
Browse files Browse the repository at this point in the history
  • Loading branch information
DomAmato committed Mar 7, 2021
1 parent 83c1c7a commit a10fd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hologram/HologramCloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def sendMessage(self, message, topics=None, timeout=DEFAULT_SEND_MESSAGE_TIMEOUT
modem_id=modem_id,
version=self.version)

result = super().sendMessage(output, timeout)
result = super().sendMessage(output, timeout).strip('\r\n')
return self.__parse_result(result)

def __parse_result(self, result):
Expand Down

0 comments on commit a10fd16

Please sign in to comment.