diff options
Diffstat (limited to 'fs/ftpfs.py')
-rw-r--r-- | fs/ftpfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ftpfs.py b/fs/ftpfs.py index ece11b1..5743ad2 100644 --- a/fs/ftpfs.py +++ b/fs/ftpfs.py @@ -651,7 +651,7 @@ class _FTPFile(object): return '' chunks = [] - if size is None: + if size is None or size < 0: while 1: data = self.conn.recv(self.blocksize) if not data: |