mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Wrote unit tests and found and fixed bugs
This commit is contained in:
@@ -21,4 +21,4 @@ class TcpClient:
|
||||
|
||||
def read(self, buffer_size):
|
||||
"""Reads (receives) the specified bytes from the connected peer"""
|
||||
self.socket.recv(buffer_size)
|
||||
return self.socket.recv(buffer_size)
|
||||
|
Reference in New Issue
Block a user