diff options
author | mkaay <mkaay@mkaay.de> | 2010-12-19 20:53:54 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-12-19 20:53:54 +0100 |
commit | a8b5b705427b25b3a9a20c6e2c77ca8d9dd8a7d4 (patch) | |
tree | 42b295cfa31f1d40c2fb4fc9793b4e5b87e8d142 /module/network/FTPBase.py | |
parent | some adjusments (diff) | |
download | pyload-a8b5b705427b25b3a9a20c6e2c77ca8d9dd8a7d4.tar.xz |
new network backend: xdcc support
Diffstat (limited to 'module/network/FTPBase.py')
-rw-r--r-- | module/network/FTPBase.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/network/FTPBase.py b/module/network/FTPBase.py index 4d27585a1..da67573a3 100644 --- a/module/network/FTPBase.py +++ b/module/network/FTPBase.py @@ -133,6 +133,7 @@ class FTPDownload(): break self.fh.write(data) + self.fh.close() conn.close() self.endTime = inttime() if not self.abort: @@ -142,7 +143,7 @@ class FTPDownload(): if self.abort: self.deferred.error("abort") elif self.size is None or self.size == self.arrived: - self.deferred.callback(resp) #@TODO resp = unresolved? + self.deferred.callback() else: self.deferred.error("wrong content lenght") |