fix indentation for easier merge

This commit is contained in:
Harold De Armas 2020-04-30 00:17:50 -07:00
parent 82edb0ab39
commit 2c0466f786

View file

@ -722,7 +722,8 @@ class ESP_SPIcontrol: # pylint: disable=too-many-public-methods, too-many-insta
resp = self._send_command_get_response(_SEND_UDP_DATA_CMD, self._socknum_ll) resp = self._send_command_get_response(_SEND_UDP_DATA_CMD, self._socknum_ll)
if resp[0][0] != 1: if resp[0][0] != 1:
raise RuntimeError("Failed to send data") raise RuntimeError("Failed to send data")
else: return
if sent != len(buffer): if sent != len(buffer):
raise RuntimeError( raise RuntimeError(
"Failed to send %d bytes (sent %d)" % (len(buffer), sent) "Failed to send %d bytes (sent %d)" % (len(buffer), sent)