diff options
Diffstat (limited to 'Lib/ftplib.py')
-rw-r--r-- | Lib/ftplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 22852bc..bfb0b5b 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -283,7 +283,7 @@ class FTP: # The callback function is called for each line, with trailing # CRLF stripped. This creates a new port for you. # print_lines is the default callback - def retrlines(self, cmd, args): + def retrlines(self, cmd, *args): callback = None if args: callback = args[0] |