From 805cb9d007e61edf2a211467b65b868bf35b49f1 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 25 Dec 2010 20:20:33 +0100 Subject: great fixes http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef0134872dea10970c-pi --- module/network/HTTPDownload.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/network/HTTPDownload.py') diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py index 117ecd0c6..bce698e1e 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -173,7 +173,7 @@ class HTTPDownload(): def _chunkDone(self): self.chunksDone += 1 - print self.chunksDone, "/", len(self.chunks) + #print self.chunksDone, "/", len(self.chunks) if self.chunksDone == len(self.chunks): self._copyChunks() @@ -306,7 +306,8 @@ class HTTPDownload(): def clean(self): """ cleanup """ - pass + for c in self.chunks: + c.clean() if __name__ == "__main__": import sys -- cgit v1.2.3