Skip to content
Snippets Groups Projects
Commit 6d5927c6 authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Rename variable "bytes" to "data"

parent 8df6d482
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -83,8 +83,8 @@ class Network(QtCore.QObject):
 
def _socket_read(self):
"""Slot: data available on socket."""
bytes = self._socket.readAll()
self._buffer.append(bytes)
data = self._socket.readAll()
self._buffer.append(data)
while len(self._buffer) >= 4:
remainder = None
length = struct.unpack('>i', self._buffer[0:4])[0]
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment