summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:31:29 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:31:29 +0100
commit0c42de51c21aeb91328752a8e93fa31e20527e37 (patch)
tree650aac5fde5b6e2d4fdba770903df5da55be745b /module/network
parenthotfile fix (diff)
downloadpyload-0c42de51c21aeb91328752a8e93fa31e20527e37.tar.xz
fixed typo
Diffstat (limited to 'module/network')
-rw-r--r--module/network/Browser.py1
-rw-r--r--module/network/HTTPDownload.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py
index 994a1bcc7..e163802bb 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -77,7 +77,6 @@ class Browser(object):
self.dl.download(chunks, resume)
self._size = self.dl.size
- self.dl.close()
self.dl = None
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py
index 3bd9a1184..77c5f480f 100644
--- a/module/network/HTTPDownload.py
+++ b/module/network/HTTPDownload.py
@@ -114,7 +114,7 @@ class HTTPDownload():
try:
self._download(chunks, resume)
finally:
- self.clean()
+ self.close()
def _download(self, chunks, resume):
if not resume: