mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Python 3 syntax fixes
This commit is contained in:
committed by
Ivan Grokhotkov
parent
8edeac0cf4
commit
7dca0727e1
@ -24,7 +24,7 @@ def setup_echo_server(e):
|
||||
while len(data) < 1024 and retries < 3:
|
||||
data += sock.recv(1024)
|
||||
retries += 1
|
||||
print 'Received {} bytes'.format(len(data))
|
||||
print('Received {} bytes'.format(len(data)))
|
||||
if len(data) != 1024:
|
||||
raise RuntimeError('client failed to receive response')
|
||||
count += 1
|
||||
|
Reference in New Issue
Block a user